<?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, 23 May 2013 09:34:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Hartjes: Standards, Soapboxes, and Shamans]]></title>
      <guid>http://www.phpdeveloper.org/news/19070</guid>
      <link>http://www.phpdeveloper.org/news/19070</link>
      <description><![CDATA[<p>
In <a href="http://www.littlehart.net/atthekeyboard/2013/01/20/standards-soapboxes-and-shamans/">this latest post</a> to his site <i>Chris Hartjes</i> shares some of his thoughts about the recently approved <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md">PSR-3</a> standard (for logging) and some of the reception that the other PSRs (PSR-0, 1 & 2) have gotten from the PHP community.
</p>
<blockquote>
For those who pay attention to the workings of the PHP community you might have heard about the "PHP Standards Recommendations" that have been coming out of the PHP Framwork Interop Group. [...] More recently this group has been working on a standard for logging interfaces called <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md">PSR-3</a>. I spoke about this on Twitter, and I will repeat it here: I think PHP programmers should get behind PSR-0 and efforts like PSR-3. I feel that PSR-1 and PSR-2 are solutions looking for a problem and seem, to me anyway, to me out of place with the solutions offered by PSR-0 and PSR-3.
</blockquote>
<p>
He likens the PHP PSRs to the <a href="http://www.python.org/dev/peps/">Python enhancement proposals</a> (PEPs) and, more specifically, to the PEP-8 - their own version of "coding standards" that was highly championed by <i>Guido van Rossum</i> and put into wide practice. 
</p>
<blockquote>
Any programming language community that does not work as hard as possible to make it easier to integrate other's libraries of code together [by standardizing their formatting] is asking for irrelevancy.
</blockquote>]]></description>
      <pubDate>Mon, 21 Jan 2013 13:16:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney: On php-fig and Shared Interfaces]]></title>
      <guid>http://www.phpdeveloper.org/news/18933</guid>
      <link>http://www.phpdeveloper.org/news/18933</link>
      <description><![CDATA[<p>
In his most recent post <i>Matthew Weier O'Phinney</i> (lead on the Zend Framework project) takes a look at the PHP Interoperability Group (php-fig) and some recent discussions that have come up about <a href="http://mwop.net/blog/2012-12-20-on-shared-interfaces.html">shared interfaces</a> for things like logging and caching.
</p>
<blockquote>
A little over a year ago, there was a new push by a number of folks wanting to do more. Paul Jones did a remarkable job of spearheading the next <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md">two</a> <a href="https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md">standards</a>, which centered around coding style. [...] And this is when we started seeing proposals surface for shared interfaces, first around caching, and now around logging (though the latter is the first up for vote).
</blockquote>
<p>
He talks a bit about shared interfaces - what they are and what kind of problem they aim to solve - and how he's not sure he "buys into them". He notes that "sharing is good, developing solutions is better" and stresses making it easier to operate with each other and not worry so much about standardized interfaces.
</p>
<p>
He's found a few problems with the concepts behind them like the Not Invented Here (NIH) idea they promote and that there's not really just a single solution to these kinds of problems ("space for multiple implementations"). He suggests an alternative to the idea of these shared interfaces - <a href="http://en.wikipedia.org/wiki/Bridge_pattern">bridges</a>/<a href="http://en.wikipedia.org/wiki/Adapter_pattern">adapters</a>. He illustrates this idea with some code showing the implementation of a "CacheInterface" and a "FrameworkACache" adapter that wraps the functionality of a "CacheItem" class that might be internal to your application already.
</p>]]></description>
      <pubDate>Fri, 21 Dec 2012 11:45:37 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Rodger: Why I Have Given Up on Coding Standards]]></title>
      <guid>http://www.phpdeveloper.org/news/18849</guid>
      <link>http://www.phpdeveloper.org/news/18849</link>
      <description><![CDATA[<p>
In a recent (controversial) post <i>Richard Roger</i> talks about why he's <a href="http://www.richardrodger.com/2012/11/03/why-i-have-given-up-on-coding-standards">given up on coding standards</a> and includes a few of the reasons that might make you think about your own proceses.
</p>
<blockquote>
Every developer knows you should have a one, exact, coding standard in your company. Every developer also knows you have to fight to get your rules into the company standard. Every developer secretly despairs when starting a new job, afraid of the crazy coding standard some power-mad architect has dictated. It's better to throw coding standards out and allow free expression. The small win you get from increased conformity does not move the needle. Coding standards are technical ass-covering. 
</blockquote>
<p>
He walks through the evolution of the average developer, the trip from their infancy of "just writing code" to the point of understanding that there needs to be standards to make code easier to read and understand. He includes a list of five "sins of control" that might make coding standards more desirable.
</p>
<blockquote>
There are worse sins than these. You only need one of them to end up with a coding standard. The truly evil thing about coding standards is what they do to your heart, your team's heart. They are a little message that you are not good enough. You cannot quite be trusted. Without adult supervision, you'll mess up.
</blockquote>
<p>
As you'd expect, there's <a href="http://www.richardrodger.com/2012/11/03/why-i-have-given-up-on-coding-standards#comments">plenty of comments</a> on the post, so enjoy reading and maybe contribute some of your own.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2012 13:17:48 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP-FIG Group Launches Site & FAQ]]></title>
      <guid>http://www.phpdeveloper.org/news/18179</guid>
      <link>http://www.phpdeveloper.org/news/18179</link>
      <description><![CDATA[<p>
To help resolve issues that have come up around its formation and to keep too much FUD (fear, uncertainty and doubt) from spreading, the "PHP-FIG" (framework interoperability group) has <a href="http://www.php-fig.org/faq/">put together a site</a> and a FAQ describing what they're all about.
</p>
<blockquote>
The FIG stands for Framework Interoperability Group. The name until recently was "PHP Standards Group" but this was somewhat inaccurate of the intentions of the group. [...] The idea behind the group is for project representatives to talk about the commonalities between our projects and find ways we can work together. Our main audience is each other, but we're very aware that the rest of the PHP community is watching. 
</blockquote>
<p>
The FAQ answers other questions about the standards the group has agreed on (passed) so far, who the members of the group are, how to get involved and how framework communities can get involved.
</p>]]></description>
      <pubDate>Wed, 04 Jul 2012 20:25:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Kohana Community Responds to PSR-1 & PSR-2]]></title>
      <guid>http://www.phpdeveloper.org/news/18069</guid>
      <link>http://www.phpdeveloper.org/news/18069</link>
      <description><![CDATA[<p>
In the Kohana framework, you can get an inside look at the discussion inside a framework community regarding their <a href="http://forum.kohanaframework.org/discussion/10784/psr-1-and-psr-2/p1">adherence to the PSR-1 & PSR-2 standards</a> (hint: they're not in favor).
</p>
<p>
A commentor asks the question "Will Kohana eventually follow the following guidelines?" and is immediately given the simple response of "no".  Other comments reinforce this by pointing out some of the differences in the standards that the framwork follows and what the PSR standards outline.
</p>
<p>
Other posters make comments about the PHP-FIG group themselves, some of the things outlined in the standards and some of their own personal preferences when it comes to the the standards of their own code. You can find more information on the standards here: <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>.
</p>]]></description>
      <pubDate>Sat, 09 Jun 2012 09:10:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP, Episode 24 - Do PHP Developers Need & will Adopt PHP Coding Standards]]></title>
      <guid>http://www.phpdeveloper.org/news/18042</guid>
      <link>http://www.phpdeveloper.org/news/18042</link>
      <description><![CDATA[<p>
The PHPClasses.org site has released the latest episode in their "Lately in PHP" podcast series - <a href="http://www.phpclasses.org/blog/post/186-Do-PHP-Developers-Need-and-will-Adopt-PHP-Coding-Standards--Lately-in-PHP-podcast-episode-24.html">Episode 24</a>, "Do PHP Developers Need and will Adopt PHP Coding Standards?"
</p>
<blockquote>
The PHP Standards Group is trying to push new specifications for PHP coding standards. Whether PHP developers need and will adopt these standards was one of the main topics discussed by Manuel Lemos and Arturs Sosins in episode 24 of the Lately in PHP podcast.
</blockquote>
<p>
They also talk about some of the comments that <i>Linus Torvalds</i> recently made about the limitations of Github and recent PHP releases (bugfixes). You can listen to this latest episode using the <a href="http://www.phpclasses.org/blog/post/186-Do-PHP-Developers-Need-and-will-Adopt-PHP-Coding-Standards--Lately-in-PHP-podcast-episode-24.html">in-page player</a> or you can <a href="http://www.phpclasses.org/blog/post/186/file/130/name/Lately-In-PHP-24.mp3">download the mp3</a> and listen locally. If you enjoy it, consider <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribing to their feed</a> to get this and future episodes.
</p>]]></description>
      <pubDate>Mon, 04 Jun 2012 11:35:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[P&aacute;draic Brady's Blog: The Framework Interoperability Group (FIG)]]></title>
      <guid>http://www.phpdeveloper.org/news/18035</guid>
      <link>http://www.phpdeveloper.org/news/18035</link>
      <description><![CDATA[<p>
In a new post to his blog <i>P&aacute;draic Brady</i> <a href="http://blog.astrumfutura.com/2012/06/the-framework-interoperability-group-fig-openness-accountability-and-community-involvement-in-php-standards/">gives his take</a> on the PHP-FIG (Framework Interoperability Group) and some of the decisions they've been making on PHP coding standards.
</p>
<blockquote>
Anthony, whose views always make good reading, raises concerns about the way in which this group generates standards. He contrasts the current approach to <a href="http://www.ietf.org/about/standards-process.html">RFC 2026 which defines the IETF's Internet Standards Process</a>.  [...] Where Anthony's arguments seemingly fall flat is that the FIG is not the IETF. The Framework Interoperability Group was founded to allow cooperating members to develop shared standards. It does not claim to be PHP's standards body and so there is no obligation for any PHP programmer to adopt their standards (unless they work on a member project obviously!).
</blockquote>
<p>
He points out that the standards group's process has been slowly opening more and more ("by inches") and that the group, while made of up individuals, is more than just a collection of people - it's representatives for well-known Open Source projects.
</p>
<blockquote>
In other words, the FIG is actually something really really good for PHP. PHP needs standards so we can make interoperability between various frameworks and applications a true reality. The hodgepodge of APIs and standards we've relied on to this point only serve to reinforce PHP's NIH obsession. [...] What the FIG should do, in my opinion, is clearly define its purpose and better document its bylaws/processes. [...] It really all comes down to better communication and pushing the community engage with the FIG.
</blockquote>]]></description>
      <pubDate>Fri, 01 Jun 2012 10:49:56 -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>
    <item>
      <title><![CDATA[Voices of the ElePHPant Podcast: FIG, FUD & FOMO]]></title>
      <guid>http://www.phpdeveloper.org/news/17893</guid>
      <link>http://www.phpdeveloper.org/news/17893</link>
      <description><![CDATA[<p>
On the Voices of the ElePHPant podcast, the latest episode has been released - <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">FIG, PUD & FOMO</a>, a discussion with members of the PHP Standards Group: <i>Matthew Weier O'Phinney</i>, <i>Jeremy Lindblom</i> and <i>Paul Jones</i>.
</p>
<p>
<i>Cal</i>'s questions center around the Standards group and what kinds of discussions they have about the language and the progress the group has made so far (like PSR-0):
<ul>
<li>What's the purpose of the group?
<li>Is the purpose of this group to take PHP from everyone's hands and enforce the "one true grace" on everyone?
<li>Is the group fulfilling its purpose or is it wandering off the path?
</ul>
<p>
You can listen to this latest episode either via the <a href="http://voicesoftheelephpant.com/2012/05/01/fig-fud-fomo/">in-page player</a>, by <a href="http://voices.of.the.elephpant.s3.amazonaws.com/vote_050.mp3">downloading the mp3</a> or <a href="http://voicesoftheelephpant.com/feed/podcast/">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Tue, 01 May 2012 14:01:25 -0500</pubDate>
    </item>
  </channel>
</rss>
