<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 24 May 2012 18:25:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Community News: Win a phpDay/jsDay 2012 Ticket]]></title>
      <guid>http://www.phpdeveloper.org/news/17750</guid>
      <link>http://www.phpdeveloper.org/news/17750</link>
      <description><![CDATA[<p>
The <a href="http://2012.jsday.it">jsDay/<a href="http://2012.phpday.it">phpDay</a> organizers have <a href="http://2012.jsday.it/2012/03/win-a-jsday-or-phpday-ticket/">announced a contest to win a free ticket</a> to this year's event(s), one for each conference:
</p>
<blockquote>
GrUSP is organising a tweet contest and its prizes will be two tickets, one for each conference. The contest will start today (March 29th) at 1pm CEST and will end April 1st at 7pm CEST.
</blockquote>
<p>
Anyone can enter - all you have to do is tweet a post with a few things: the "#grsup" hashtag, a mention of the twitter accounts for the events, a link to the conference site and something about the event. Be sure and get those tweets posted before April 1st a 9am CEST - they'll pick the winners soon after! (Oh and multiple entries are accepted so the more you tweet, the better your chances!)
</p>]]></description>
      <pubDate>Thu, 29 Mar 2012 10:20:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ServerGrove Blog: Error "Cannot find module 'less'" with Symfony2, Assetic and Twitter Bootstrap]]></title>
      <guid>http://www.phpdeveloper.org/news/17692</guid>
      <link>http://www.phpdeveloper.org/news/17692</link>
      <description><![CDATA[<p>
On the ServerGrove blog, there's <a href="http://blog.servergrove.com/2012/03/16/error-cannot-find-module-less-with-symfony2-assetic-and-twitter-bootstrap/">a quick post</a> with a handy tip for the Symfony2 + Assetic users out there - how to get it to recognize the "less" module.
</p>
<blockquote>
Unfortunately the <a href="http://symfony.com/doc/current/cookbook/assetic/asset_management.html">Symfony documentation</a> does not provide any details on how to configure Assetic to use LESS. There is <a href="http://www.dobervich.com/2011/05/10/less-css-assetic-configuration-in-a-symfony2-project/">a blog post by Dustin Dobervich</a> that gives some pointers, but after following the instructions, Assetic issued the following error: Cannot find module 'less'. We searched around without much success. After several tries, we nailed the configuration.
</blockquote>
<p>
It's an easy two-step process: first you be sure you have "npm" (the package manager) installed on your system, then you modify your Symfony app.yml file to point to the Node modules path.
</p>]]></description>
      <pubDate>Mon, 19 Mar 2012 12:36:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Packing more PHP News in your day with PHP Quick Fix]]></title>
      <guid>http://www.phpdeveloper.org/news/17224</guid>
      <link>http://www.phpdeveloper.org/news/17224</link>
      <description><![CDATA[<p>
If you're a regular reader of PHPDeveloper.org, you know that there's a few articles posted here (almost) daily about what's happening in the PHP world. Unfortunately, this only scratches the surface of the quality content that's out there. In an effort to provide more PHP goodness to the community as a whole, <a href="http://phpquickfix.me">PHP Quick Fix</a> has been launched - a service linking to stories that don't make it on PHPDeveloper.org.
</p>
<p>
All of the stories on <a href="http://phpquickfix.me">PHP Quick Fix</a> (you can <a href="http://twitter.com/phpquickfix">also follow it on twitter</a>) are still hand-selected out of the mounds of PHP content that shows every day to ensure the best quality. There's no automatic syndication here - just more good, useful PHP (and related topics) to add to your day.
</p>
<p>
Additionally, if you're interested to see how it all works (thanks to a <a href="http://gimmebar.com">GimmeBar</a> backend) check out <a href="http://blog.phpdeveloper.org/?p=413">this post</a> on blog.phpdeveloper.org.
</p>]]></description>
      <pubDate>Wed, 07 Dec 2011 11:35:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: What programming rules should you ALWAYS follow?]]></title>
      <guid>http://www.phpdeveloper.org/news/17105</guid>
      <link>http://www.phpdeveloper.org/news/17105</link>
      <description><![CDATA[<p>
In a quick new post today <i>Kevin Schroeder</i> asks his readers for feedback on <a href="http://www.eschrade.com/page/what-programming-rules-should-you-always-follow">what programming rules you should always follow</a> in your development practices.
</p>
<blockquote>
Earlier today, more for my own interest, I asked the question on Twitter "What programming rules should you ALWAYS follow, regardless of the scenario you're working in?"  In other words, are there programming rules that you ALWAYS should follow.  It doesn't matter if it's a script to copy a bunch of files for a one time migration or if you're building the next Facebook (DON'T try to build the next Facebook.  You will fail miserably.  Build something else).  In other words, what was the purist of programming rules.
</blockquote>
<p>
Responses he received ranged from the simple to slightly more complex including:
</p>
<ul>
<li>Always comment your code
<li>Test your code
<li>Use source control
<li>"Think. Think again. Then write code"
<li>Use a good debugger to help track down problems
<li>Make effective use of logging/output
</ul>]]></description>
      <pubDate>Wed, 09 Nov 2011 09:20:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Understanding OAuth - Tweeting from Scratch, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/17006</guid>
      <link>http://www.phpdeveloper.org/news/17006</link>
      <description><![CDATA[<p>
PHPMaster.com has posted the first part of a new series they're presenting on <a href="http://phpmaster.com/understanding-oauth-1/">working with OAuth</a> in PHP, specifically using it to connect to the <a href="http://twitter.com">Twitter</a> API. This first part of the series introduces you to the concepts of OAuth and some early code to work with user credentials.
</p>
<blockquote>
A common complaint about <a href="http://oauth.net/">OAuth</a> is that it is very difficult to understand, but perhaps some of that confusion is because of an expectation that the abstraction provided by a third-party library will erase the need to understand the steps of an OAuth transaction - it does not. This two-part article demonstrates <a href="http://tools.ietf.org/rfc/rfc5849.txt">how OAuth v1 works</a> by explaining the process of connecting a PHP application to the <a href="https://dev.twitter.com/">Twitter API</a> using only a few built-in functions to post a message to a user's Twitter stream.
</blockquote>
<p>
The process is broken up into two steps - first you'll need to set up the request credentials so your application can connect to the Twitter service (as <a href="https://dev.twitter.com/apps">created here</a>) then use that connection to fetch the rest of the necessary credentials (three total: Consumer, Request and Access Credentials). Cut and pasteable code is provided.
</p>]]></description>
      <pubDate>Tue, 18 Oct 2011 10:27:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Bertrand Mansion's Blog: Twitter Bootstrap and the QuickForm2 Callback Renderer]]></title>
      <guid>http://www.phpdeveloper.org/news/16908</guid>
      <link>http://www.phpdeveloper.org/news/16908</link>
      <description><![CDATA[<p>
In a new post <i>Bertrand Mansion</i> shows <a href="http://mansion.im/2011/twitter-bootstrap-and-the-quickform2-callback-renderer/">how he combined</a> the versatility of the PEAR <a href="http://pear.php.net/package/HTML_QuickForm2">QuickForm2</a> package and the <a href="http://twitter.github.com/bootstrap/">Bootstrap project</a> from Twitter to quickly make a form using the project's styling (CSS).
</p>
<blockquote>
I don't know about you, but for me building HTML Forms and styling HTML Forms are maybe the most boring things in web development. It's repetitive and takes a lot of time to do things correctly. That's why tools like Twitter's Bootstrap and PEAR's HTML_QuickForm2 can help with this part of our job. Wouldn't it be nice to have QuickForm2 generate a markup compatible with Bootstrap CSS, so that you could get a nice looking form without to much efforts? Well, that's what I plan to do here.
</blockquote>
<p>
He starts by creating a simple QuickForm2 form with no renderers attached (no pre-defined styles) and a custom render callback that wraps the items in "div" tags with the correct styles. There's also a custom renderer included for grouping items with additional styling attached.
</p>]]></description>
      <pubDate>Mon, 26 Sep 2011 12:23:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Why PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/16836</guid>
      <link>http://www.phpdeveloper.org/news/16836</link>
      <description><![CDATA[<p>
<i>Kevin Schroeder</i> has a new post to his blog today asking "Why PHP?" - not so much a "why you should chose PHP for your development", more of a <a href="http://www.eschrade.com/page/why-php">why PHP is the way it is</a>.
</p>
<blockquote>
Today on twitter there was a conversation going on about the responsiveness of the core PHP developers to PHP users. [...] This post isn't necessarily to correct perceived errors, to stand behind correct statements, or to state what I believe the problem is.  Rather, it is to add something to the conversation that I don't think I've seen much of.  The Twitter conversation was, for me, more of a contemplation kickoff and so the purpose of this post is to propose some thoughts for consideration.  I don't have sufficient karma to propose changes directly, but I have bet my career on PHP and I want to see it beat the crap out of every language out there.
</blockquote>
<p>
He points out that most of the opinions out there seem to be of the "what" PHP is rather than the "why" PHP is. He notes that the discussions about the core development (and developers) that's been happening recently is more of a symptom of a larger problem - an unclear definition as to what PHP is and what problem it's there to solve.
</p>]]></description>
      <pubDate>Fri, 09 Sep 2011 08:53:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ade Slade's Blog: Implementing Twitter sign-in with Silex and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16729</guid>
      <link>http://www.phpdeveloper.org/news/16729</link>
      <description><![CDATA[<p>
<i>Ade Slade</i> has written up a quick new post to his blog today showing how you can use the lightweight <a href="http://silex-project.org/">Silex</a> framework to <a href="http://adeslade.co.uk/post/implementing-twitter-sign-in-with-silex-and-php">link your login with Twitter</a> and validate users from their API.
</p>
<blockquote>
For those not acquainted with <a href="http://silex-project.org/">Silex</a>: Silex is a PHP microframework for PHP 5.3 A microframework provides the guts for building simple single-file apps. It's awesome. For the example, I've setup a virtual host of example.local on my development machine.
</blockquote>
<p>
He includes the contents of the .htaccess you'll need to get the rewrite to work for Silex, a link to the <a href="https://dev.twitter.com/docs/auth/oauth">OAuth extension</a> you'll need to install for PHP and the code to make the login and auth routes. You'll need to <a href="https://dev.twitter.com/apps">create a Twitter application</a> for your site to get the OAuth secret key to make the authentication work. You can see the complete code <a href="https://gist.github.com/1148079">here</a>.
</p>]]></description>
      <pubDate>Wed, 17 Aug 2011 09:55:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: What PHP Needs (A Twitter Thread)]]></title>
      <guid>http://www.phpdeveloper.org/news/16509</guid>
      <link>http://www.phpdeveloper.org/news/16509</link>
      <description><![CDATA[<p>
In an effort to get some real feedback from the community about the state of PHP and what they think it needs, <a href="http://twitter.com/coates">Sean Coates</a> asked on Twitter for people to <a href="http://twitter.com/#!/coates/status/83693734855839744">respond with their suggestions</a> as to what could help make PHP better and what the project itself needs.
</p>
<blockquote>
PHP's intentional stagnation is eating away at me. I'm working on a list of things I think #PHP needs. What's on your list? Tag it <a href="http://twitter.com/#!/search?q=%23phpneeds">#phpneeds</a>
</blockquote>
<p>
There's been a <a href="http://twitter.com/#!/search?q=%23phpneeds">great response already</a> with suggestions ranging from features the language itself needs out to suggestions for those running and participating in the project. Keep <a href="http://twitter.com/#!/search?q=%23phpneeds">this Twitter search</a> bookmarked to see some of the great discussion.
</p>]]></description>
      <pubDate>Thu, 23 Jun 2011 09:45:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Translating Twitter, part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/16419</guid>
      <link>http://www.phpdeveloper.org/news/16419</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has posted the second part of his look at <a href="http://derickrethans.nl/translating-twitter-part2.html">translating twitter</a> as a part of his PHP-GTK Twitter client <a href="http://derickrethans.nl/projects.html#haunt">Haunt</a>. Because of the deprecation route Google chose for its translation API, he needed a change to another service - the <a href="http://www.microsoft.com/web/post/using-the-free-bing-translation-apis">Bing Translation API</a>.
</p>
<blockquote>
A while ago I wrote in <a href="http://derickrethans.nl/translating-twitter.html">an article</a> about translating tweets in my client <a href="http://derickrethans.nl/projects.html#haunt">Haunt</a>. For the translating itself I was using the Google Translate API, which has sadly be <a href="http://googlecode.blogspot.com/2011/05/spring-cleaning-for-some-of-our-apis.html">deprecated</a>. Evil after all I suppose. I've now rewritten my translation code to use the <a href="http://www.microsoft.com/web/post/using-the-free-bing-translation-apis">Bing Translation APIs</a> instead. You need to register an API key (see <a href="http://www.bing.com/developers/appids.aspx%29">http://www.bing.com/developers/appids.aspx</a>) to be able to use the APIs. The APIs that I am using are fairly simple though.
</blockquote>
<p>
Also included in <a href="http://derickrethans.nl/translating-twitter-part2.html">the post</a> is some sample code showing how to make the request to this new API and the results from the requests.
</p>]]></description>
      <pubDate>Thu, 02 Jun 2011 11:28:40 -0500</pubDate>
    </item>
  </channel>
</rss>

