<?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>Sun, 19 May 2013 17:54:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Drupal Motion: PHP is not dead]]></title>
      <guid>http://www.phpdeveloper.org/news/19372</guid>
      <link>http://www.phpdeveloper.org/news/19372</link>
      <description><![CDATA[<p>
In <a href="http://drupalmotion.com/article/php-not-dead">this new post</a> to his Drupal Motion site, <i>David Corbacho</i> shares some statistics about why PHP "isn't dead yet" and that despite the slow adoption of the latest versions of the language, it's still as popular as it ever was.
</p>
<blockquote>
This is a follow-up on the article Dries Buytaert wrote in 2007 <a href="http://buytaert.net/php-is-dead-long-live-php">PHP is dead... long live PHP!</a>. In the article he shared same concern that <a href="http://www.nicklewis.org/node/911">Nick Lewis</a> for the slow adoption rate of PHP 5, less than 20% at that time. And he encouraged to upgrade to PHP 5. [...] Well, PHP 5 adoption rate is 96.9%, and PHP 4 is quite dead. Mission accomplished. Let's have a look to the overall PHP health.
</blockquote>
<p>
He shares data from a few sources about the popularity and adoption of PHP in applications/sites all across the web. Sources include Netcraft survey results, W3Tech usage summaries and Stack Overflow tagging matches (complete with graphs of each set of data).
</p>]]></description>
      <pubDate>Wed, 27 Mar 2013 11:12:42 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Weiske's Blog: How to integrate PHP_CodeSniffer with Git repositories?]]></title>
      <guid>http://www.phpdeveloper.org/news/16393</guid>
      <link>http://www.phpdeveloper.org/news/16393</link>
      <description><![CDATA[<p>
<i>Christian Weiske</i> has a problem he hopes you can help with - he's trying to get the <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_Codesniffer</a> tool integrated into his git workflow (well, the workflow of his team) as an automatic process that runs on commit. Unfortunately he's <a href="http://cweiske.de/tagebuch/codesniffer-git-how.htm">having some issues</a>.
</p>
<blockquote>
At work, we used a SVN server and enforced our project coding standard with a pre-commit hook on the server that ran PHP_CodeSniffer. Whenever a developer tried to commit some code that does not match the standard, he got it rejected. [...] The only way to enforce the standard is a pre-receive hook on our central Git repository server that all devs push to. Just installing the SVN hook on it isn't the solution, though.
</blockquote>
<p>
Because of how git handles commits (possibly multiple in one push) the usual methods won't work. Other tricky things like file renaming and allowing for legacy code check-ins are also needed. He's <a href="http://stackoverflow.com/questions/6120331/git-pre-receive-hook-with-php-codesniffer">posted the question on StackOverflow</a> too, but no one's come up with a good answer yet (at the time of this post).
</p>]]></description>
      <pubDate>Fri, 27 May 2011 11:16:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Using the Stack Exchange API with PHP (part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/15785</guid>
      <link>http://www.phpdeveloper.org/news/15785</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted the <a href="http://devzone.zend.com/article/12943-Using-the-Stack-Exchange-API-with-PHP-part-2">second part</a> of a series from <i>Vikram Vaswani</i> about using the <a href="http://api.stackoverflow.com/">Stack Exchange API</a> to pull questions and comments users have posted to the site. In this second part of the series he shows how to get more information about those users and their activities.
</p>
<blockquote>
The thing to remember about questions, answers and comments, though, is that they don't exist in a vacuum. They're created by users, and it's the users that make the site tick. That's why the Stack Exchange API includes a large number of methods designed to let developers access user profiles and timelines, and unearth the relationships between users and their posts. This article will focus primarily on this dimension of the Stack Exchange API, illustrating how to search for users, obtain user profiles and timelines, and retrieve information on a user's questions, answers, comments, badges and tags. 
</blockquote>
<p>
You'll need to get the <a href="http://pear.php.net/pepr/pepr-proposal-show.php?id=647">StackPHP PEAR package</a> to follow along with the code examples (it does some of the hard work for you). He shows how to:
</p>
<ul>
<li>Grab a list of users ordered by reputation
<li>Search for usernames matching a string
<li>Get badge information (in general and for a user)
<li>Finding a user's activity timeline
</ul>
<p>
Near the end he also includes an example of using the Zend_Paginator component of the <a href="http://framework.zend.com">Zend Framework</a> to filter down the results to a more manageable size.
</p>]]></description>
      <pubDate>Fri, 21 Jan 2011 11:12:22 -0600</pubDate>
    </item>
  </channel>
</rss>
