<?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 14:46:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP Town Hall Podcast: Episode #6 - PSR-X and the Mexican Standoff]]></title>
      <guid>http://www.phpdeveloper.org/news/19489</guid>
      <link>http://www.phpdeveloper.org/news/19489</link>
      <description><![CDATA[<p>
The PHP Town Hall podcast has released the latest episode of their show - <a href="http://phptownhall.com/blog/2013/04/19/episode-6-psr-x-and-the-mexican-standoff/">Episode #6</a>, "PSR-X and the Mexican Standoff".
</p>
<blockquote>
PHP-FIG member Paul M. Jones and PHP contributor Anthony Ferrera come on the podcast with Ben, Phil and regular guest Zack Kitzmiller to discuss the new Package Orientated Autoloader Proposal (a.k.a PSR-X), and wether or not PSR's should ever be amended.[...] Nobody wins, but the argument brings up a lot of interesting topics and points of view, and that is mostly what we are here for.
</blockquote>
<p>
You can listen to this latest episode either through the <a href="http://phptownhall.com/blog/2013/04/19/episode-6-psr-x-and-the-mexican-standoff/">in-page player</a> by <a href="http://s3.amazonaws.com/phptownhall/6.mp3">downloading the mp3</a> or by <a href="http://phptownhall.com/itunes.rss">subscribing to their feed</a>. The post also contains links to several of the groups and technologies mentioned in the episode.
</p>
Link: http://phptownhall.com/blog/2013/04/19/episode-6-psr-x-and-the-mexican-standoff]]></description>
      <pubDate>Mon, 22 Apr 2013 09:56:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: PSR-Duh!]]></title>
      <guid>http://www.phpdeveloper.org/news/19452</guid>
      <link>http://www.phpdeveloper.org/news/19452</link>
      <description><![CDATA[<p>
On NetTuts.com today there's a post that <a href="http://net.tutsplus.com/tutorials/tools-and-tips/psr-duh/">talks about applying the PSR formatting</a> to your application's code. If you haven't already read their <a href="http://net.tutsplus.com/tutorials/php/psr-huh">introduction to the PSRs</a>, it's highly suggested.
</p>
<blockquote>
In a previous lesson here on Nettuts+, you learn about <a href="http://net.tutsplus.com/tutorials/php/psr-huh">PSR</a>; however, that article didn't detail the process of integrating that coding style into your projects. Let's fix that!
</blockquote>
<p>
They briefly recap the main two PSRs (PSR-1 and PSR-2, but no mention of PSR-3 the logging interface) and show code examples of them being applied. They also point to the <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_CodeSniffer</a> tool that you can use to keep your code in the correct structure. Instructions are included to install it specifically for the Sublime Text 2 editor via <a href="http://wbond.net/sublime_packages/package_control">package control</a>. It's just a command-line tool, though, so it could be integrated with just about any other editor/IDE out there too.
</p>
Link: http://net.tutsplus.com/tutorials/tools-and-tips/psr-duh]]></description>
      <pubDate>Fri, 12 Apr 2013 10:46:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Bennett: Do We Need a Framework For That? Or Hurry Up PHP-FIG]]></title>
      <guid>http://www.phpdeveloper.org/news/19442</guid>
      <link>http://www.phpdeveloper.org/news/19442</link>
      <description><![CDATA[<p>
In <a href="http://happyaccidents.me/blog/do-we-need-a-framework-for-that">this recent post</a> to his site, <i>Phil Bennett</i> shares some thoughts about the PHP-FIG, the standards they're proposing and how the shares interfaces might help reduce dependencies in framework-based applications.
</p>
<blockquote>
[Frameworks] come in several different flavours that all have huge advantages, but also a few disadvantages. Over engineered (because their popularity demands that they be), updated too often, not updated enough. If you decide for example to update your application from using Zend Framework 1 to using Zend Framework 2, this will more than likely require, at least in part, a re-write of your code. This makes scalability difficult.
</blockquote>
<p>
He talks some about the PSRs that the PHP-FIG group has proposed including the PSR-3 logging interface structure. He points out that, by having this same structure, it makes injecting dependencies easy while still leaving the actual functionality open to interpretation. He also suggests that maybe a framework isn't the right choice for all applications and that possibly using a collection of libraries, tied together by the PSR standards, could be a better answer.
</p>
Link: http://happyaccidents.me/blog/do-we-need-a-framework-for-that]]></description>
      <pubDate>Wed, 10 Apr 2013 13:38:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Riding an Elefant: PHP-FIG's challenges, efficacy and attitude]]></title>
      <guid>http://www.phpdeveloper.org/news/19258</guid>
      <link>http://www.phpdeveloper.org/news/19258</link>
      <description><![CDATA[<p>
On the "Riding an Elefant" blog (for the <a href="http://www.elefantcms.com/">Elefant CMS</a>) there's <a href="http://ridinganelefant.tumblr.com/post/44223524737/php-figs-challenges-efficacy-and-attitude">a new post</a> that looks at some of the "challenges, efficacy and attitude" of the PHP-FIG (Framework Interoperability Group) surrounding their PSRs and general direction.
</p>
<blockquote>
First, I should state that I'm not a member of PHP-FIG. I applied to be a member representing the Elefant project, but saw projects with similarly-sized communities rejected, so I wasn't surprised at the lack of response to my application. However, I do agree with the general goals of the project and think it has a lot of potential if steered well. 
</blockquote>
<p>
He then spends a good bit of the post talking about the three PSRs (autoloading with PSR-0 and coding standards with PSR-1 & PSR-2) and how he thinks the PHP-FIG has some "public relations" issues they need to overcome as it relates to their reactions. 
</p>
<blockquote>
PHP-FIG has grown rapidly since its inception, and with that comes the need to reevaluate and adapt. The PHP community is huge, and a group hoping to represent even a substantial minority of it will have to practice diplomacy and clearly state its intentions if it doesn't want to be misunderstood or cause alienation amongst the wider community.
</blockquote>
<p>
There's also some good comments on <a href="http://ridinganelefant.tumblr.com/post/44223524737/php-figs-challenges-efficacy-and-attitude">the post</a> so be sure to check those out too</a>.
</p>]]></description>
      <pubDate>Fri, 01 Mar 2013 11:02:34 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NetTuts.com: PSR-Huh?]]></title>
      <guid>http://www.phpdeveloper.org/news/19058</guid>
      <link>http://www.phpdeveloper.org/news/19058</link>
      <description><![CDATA[<p>
On NetTuts.com today they've posted <a href="http://net.tutsplus.com/tutorials/php/psr-huh/">a good primer</a> for those that may have heard about the PSR standards that have been introduced to PHP but aren't quire sure what they are (or what they mean to you as a developer).
</p>
<blockquote>
If you're an avid PHP developer, it's quite likely that you've come across the abbreviation, PSR, which stands for "PHP Standards Recommendation." At the time of this writing, there are four of them: PSR-0 to PSR-3. Let's take a look at what these are, and why you should care (and participate).
</blockquote>
<p>
They start with a brief history of the standards, the PHP-FIG (Framework Interoperability Group) and where the idea for the PSRs came from. Then the article gets into the details of each:
</p>
<ul>
<li>PSR-0: Autoloader Standard
<li>PSR-1: Basic Coding Standard
<li>PSR-2: Coding Style Guide
<li>PSR-3: Logger Interface
</ul>
<p>
They also do a good job mentioning some of the criticism that's come with the standards and what sort of future there is including the creation of a standard for a <a href="https://groups.google.com/forum/?fromgroups=#!topic/php-fig/73cM2qq_uho">HTTP messaging package</a>.
</p>]]></description>
      <pubDate>Fri, 18 Jan 2013 09:14:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Automate PSR Compliance through Jenkins]]></title>
      <guid>http://www.phpdeveloper.org/news/18166</guid>
      <link>http://www.phpdeveloper.org/news/18166</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's new tutorial showing how you can <a href="http://phpmaster.com/automate-psr-compliance-through-jenkins/">enforce compliance with the PSR standards</a> in your application's code with the help of the <a href="http://jenkins-ci.org/">Jenkins</a> continuous integration tool.
</p>
<blockquote>
Though it's still early to guarantee that the PSRs will be widely adopted as the de facto standard for writing serious PHP applications, it is interesting to note that a code sniffer and fixer that looks for code deviations was developed by nobody less than Fabien Potencier, the creator of the Symfony framework. (Et bien, ils ne sont pas fous, ces français!) In the rest of the article we shall find out what his PHP-CS-Fixer does and how can it be integrated with a CI tool like Jenkins.
</blockquote>
<p>
He shows how to install a tool that can help you keep your source in compliance - the <a href="http://cs.sensiolabs.org/">"fixer"</a> (created by <i>Fabien Potencier</i>) to help correct the problems found in your code. He includes the command line calls you'll need to run the tool on your code and how to add the step to your build.
</p>]]></description>
      <pubDate>Tue, 03 Jul 2012 09:08:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: CodeSniffer for PSR's (PSR-0, PSR-1 & PSR-2)]]></title>
      <guid>http://www.phpdeveloper.org/news/18071</guid>
      <link>http://www.phpdeveloper.org/news/18071</link>
      <description><![CDATA[<p>
<i>Klaus Silveira</i> has created a set of PHP_CodeSniffer rules that can be used to <a href="https://github.com/klaussilveira/phpcs-psr">test your code for the recently approved PSR-1 & PSR-2 standards</a>.
</p>
<blockquote>
This is a PHP_CodeSniffer sniff to check against the PHP Standard Resolutions: <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md">PSR-0</a>, <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md">PSR-1</a> and <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md">PSR-2</a>. Those standards were approved by the <a href="https://github.com/php-fig/fig-standards">PHP Framework Interoperability Group</a>. You can read more about the PHP FIG and the PSR's on this <a href="http://paul-m-jones.com/archives/2420">excellent article</a> by Paul Jones.
</blockquote>
<p>
<a href="https://github.com/klaussilveira/phpcs-psr">The github repository</a> also provides an overview of the standards themselves and how to get these sniffs installed.
</p>]]></description>
      <pubDate>Sat, 09 Jun 2012 11:17:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Moon's Blog: PHP Coding Standards]]></title>
      <guid>http://www.phpdeveloper.org/news/18011</guid>
      <link>http://www.phpdeveloper.org/news/18011</link>
      <description><![CDATA[<p>
<i>Brian Moon</i> has shared some of his thoughts <a href="http://brian.moonspot.net/php-coding-standards">about the recently proposed standards</a> (PSRs) from the PHP-FIG group based on some discussions had at this year's <a href="http://tek.phparch.com">php|tek</a>. 
</p>
<blockquote>
During the /dev/hell podcast at Tek12, someone asked the guys their opinion about PSR. [...] The person asking the question had asked about PSR1 and PSR2. These are the first two standards proposals in the group and they deal with coding standards. [...] There are already coding standards for PHP and any other language out there. Why does anyone need to make a new one? [...] This reminds me a lot of <a href="http://opensource.org/licenses/alphabetical">Open Source licenses</a>. There are tons of these things. And in the end, most (GPL has its issues I know) of the open source licenses represent the same idea.
</blockquote>
<p>
He goes on to talk more about the feedback he's gotten from other PHP community members about the target of the group and his thoughts on the naming of both the group and the standards they're generating. 
</p>
<blockquote>
In the end, cooperation is good. And if these guys want to cooperate I say more power to them. I just hope they get into really good things soon. Like, can we talk about a maximum number of files, functions or classes used for any one single page execution? *That* would be valuable to the PHP community.
</blockquote>]]></description>
      <pubDate>Mon, 28 May 2012 17:12:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Anthony Ferrara's Blog: Open Standards - The Better Way]]></title>
      <guid>http://www.phpdeveloper.org/news/17999</guid>
      <link>http://www.phpdeveloper.org/news/17999</link>
      <description><![CDATA[<p>
In <a href="http://blog.ircmaxell.com/2012/05/open-standards-better-way.html">this new post</a> to his blog <i>Anthony Ferrara</i> responds to some of the recent news about PHP standards being up for voting (PSR-1 and PSR-2). He has an issue with how they were created, though, and notes that the current PSR process doesn't encourage open standards.
</p>
<blockquote>
There has been a lot of traction lately on the topic of the PSR "PHP Framework Interoperability Group". They are introducing two new proposed standards: PSR-1and PSR-2, both dealing with code formatting standards. [...] I have read both, and actually agree and think they are quite good. However, there's a deeper problem. Open Standards is something that the internet was built upon. From HTTP, E-Mail and HTML to ECMA Script (JavaScript), OAuth and JSON, open standards are everywhere. The problem with the entire PSR process is that it is not designed to produce open standards. 
</blockquote>
<p>
He describes an "open standard" and points to <a href="http://tools.ietf.org/html/rfc2026#section-6">this RFC</a> as an example of the open process they should result from. He talks about the importance of the process and how having more people reviewing and contributing their ideas could help find issues in the proposal. He issues a "call to the PSR team" to adopt this practice, allowing a more open flow to the ideas that are being proposed. 
</p>
<blockquote>
Note that I'm not asking to open the vote to anyone else. I'm not saying that standards should be approved by everyone in the community. There should still be a standards body that makes the final decision. But they should make that decision based on community input. They should actively look for and encourage open discussion prior to voting. 
</blockquote>]]></description>
      <pubDate>Thu, 24 May 2012 08:18:13 -0500</pubDate>
    </item>
  </channel>
</rss>
