<?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 15:02:25 -0500</pubDate>
    <ttl>30</ttl>
    <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>
    <item>
      <title><![CDATA[PHPMaster.com: The Importance of Standards]]></title>
      <guid>http://www.phpdeveloper.org/news/17099</guid>
      <link>http://www.phpdeveloper.org/news/17099</link>
      <description><![CDATA[<p>
In a new article today on PHPMaster.com <i>Robert Mariotti</i> <a href="http://phpmaster.com/the-importance-of-standards/">takes a look at standards</a> and how important they can be when developing applications (both in following them and defining them correctly). It's not specifically targeted at PHP developers, but it does give some good food for thought.
</p>
<blockquote>
As a long-time programmer, often with a staff of other programmers to watch over, I learned early in my career how important enforcing programming standards is in contributing to the overall success of a project. Not only do standards affect an individual's production of code, but they ensure that anyone else who may contribute code later can do so with a reasonable expectation of consistency.
</blockquote>
<p>
He defines the abstract concept of "coding standards" as rules or guidelines that should be followed based on the application. Sure, there's more global standards for things (PSR-0 anyone?) but your needs will always be different and more fine-grained than those can get. He recommends standardizing everything, possibly using one of the standards popular open source projects have already laid out as a base.
</p>]]></description>
      <pubDate>Tue, 08 Nov 2011 09:28:06 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHP_CodeSniffer]]></title>
      <guid>http://www.phpdeveloper.org/news/16600</guid>
      <link>http://www.phpdeveloper.org/news/16600</link>
      <description><![CDATA[<p>
<i>Michelangelo van Dam</i> has posted the next part in his "QA in PHP development" series to his blog, <a href="http://www.dragonbe.com/2011/07/quality-assurance-on-php-projects_17.html">a look at PHP_CodeSniffer</a>, a tool that can be used to keep the coding standards of your application in line.
</p>
<blockquote>
<a href="http://pear.php.net/manual/en/package.php.php-codesniffer.php">PHP_CodeSniffer</a> is probably the most convenient tool out there to analyze your source code and to verify it complies to company policies. Although it's debatable why source code should follow strict guidelines, it's only a matter of time before you discover yourself that it pays off to have a code base that appears to be written by one developer.
</blockquote>
<p>
He talks about how it works to keep every brace in the right place and format the same through out all of your files. He also mentions that its standards are flexible and can be modified as you might see fit. He looks at the installation process (both manual and through the PEAR installer) and how to use it to analyze your codebase. He's even included a short screencast <a href="http://www.dragonbe.com/2011/07/quality-assurance-on-php-projects_17.html">in the post</a> so you can see the results first-hand.
</p>]]></description>
      <pubDate>Mon, 18 Jul 2011 09:06:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Timothy Boronczyk's Blog: Spaghetti Code Considered Harmful]]></title>
      <guid>http://www.phpdeveloper.org/news/16367</guid>
      <link>http://www.phpdeveloper.org/news/16367</link>
      <description><![CDATA[<p>
<i>Timothy Boronczyk</i> has a new post to his blog proposing something that any veteran developer already knows - <a href="http://zaemis.blogspot.com/2011/05/spaghetti-code-considered-harmful.html">"spaghetti code" is harmful</a> to the health of your application. He's done a little research, though, and tried to explore what this "bad code" really is.
</p>
<blockquote>
The phrase "spaghetti code" is an all-too-common pejorative we programmers use to describe horrible code, whether it's difficult to understand, poorly organized, or just plain long-winded. And there-in lays the problem. What really constitutes spaghetti code is subjective; I've yet to hear a concrete definition or standard metric that measures it. [...] Everyone has his or her own opinion as to what aspects would make them label it spaghetti.
</blockquote>
<p>
Suggested definitions include: quickly written, non-standardized, beginner-level quality and any code that makes use of "goto". He suggests that applying the term to someone's code is less about the real quality of the code and more about social aspects of not wanting to upset the other developer over its quality.
</p>
<blockquote>
But besides negatively affecting others, our complaining about spaghetti code hurts ourselves too. It's easier to motivate ourselves when tasked with fixing a bug when we're not dreading having to trudge through spaghetti. When we label code as spaghetti code, we are actually creating roadblocks that hamper ourselves and artificially increase the difficulty of the task at hand.
</blockquote>]]></description>
      <pubDate>Fri, 20 May 2011 10:50:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Volker Dusch's Blog: How i judge frameworks - Or: Let me code in peace]]></title>
      <guid>http://www.phpdeveloper.org/news/16357</guid>
      <link>http://www.phpdeveloper.org/news/16357</link>
      <description><![CDATA[<p>
With all of the frameworks making their way around the PHP community, it's interesting to see different developers' takes on judging which is the best for their needs. In <a href="http://edorian.posterous.com/how-i-judge-frameworks-or-let-me-code-in-peac">this new post</a> to his blog <i>Volker Dusch</i> takes the opposite stance - he hates talking about frameworks.
</p>
<blockquote>
I just hate talking about frameworks! But as it seems not many people share that feeling so this is an attempt to write a rather short and linkable post on how i approach a new framework and by what standards i judge it. [...] I'm not going to call any names in this post so no need to grab your pitchforks. (For some reason people seem to get really upset when you tell them you don't like the framework the use)
</blockquote>
<p>
He asks himself a few questions like "can I still write code to my standards" and "how many 'positive adjectives' are used in the description" (inversely related to the quality of the project in his experience). He also talks about one of his other big requirements - being able to actually write unit tests for his code (i.e. the framework must make things testable). 
</p>]]></description>
      <pubDate>Wed, 18 May 2011 13:45:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Marco Tabini's Blog: The origin of the &lt;blink> tag ]]></title>
      <guid>http://www.phpdeveloper.org/news/14619</guid>
      <link>http://www.phpdeveloper.org/news/14619</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Marco Tabini</i> talks about <a href="http://blog.tabini.ca/2010/06/the-origin-of-the-blink-tag">the "monkey on the back" syndrome</a> that affects so much of the technology projects these days. His example for PHP? register_globals.
</p>
<blockquote>
One such example is the register_globals setting in PHP which finally managed to get deprecated in PHP 5.3 (and, the way things are going, may never disappear altogether) after much fighting and gnawing of teeth. [...] The existence of register_globals is problematic in many ways, but it is consistent: as long as you have a version of PHP that supports it installed, you will have the opportunity to use it1. When it is discarded, it ceases to exist, so that rewriting your code becomes a prerequisite to upgrading to a new version of PHP.
</blockquote>
<p>
He also relates it to a &lt;blink> tag - something that really shouldn't be used any more but, because someone decided it was a good idea in the past, several browsers have included support for it. The moral of the story? Well-planned standards are a good thing.
</p>]]></description>
      <pubDate>Tue, 08 Jun 2010 11:33:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect Blog: Goodies for PHPers in Internet Explorer 9]]></title>
      <guid>http://www.phpdeveloper.org/news/14339</guid>
      <link>http://www.phpdeveloper.org/news/14339</link>
      <description><![CDATA[<p>
On the php|architect blog today <i>Orlando Medina</i> points out <a href="http://www.phparch.com/2010/04/12/goodies-for-phpers-in-internet-explorer-9">a few goodies in Internet Explorer 9</a> that could be useful for PHP developers out there.
</p>
<blockquote>
Microsoft has some catching up to do in terms of standards compatibility, but they are also doing some good things with this browser. They are bringing some much needed web-standards compatibility, in addition to some JavaScript performance enhancements. 
</blockquote>
<p>
Handy new features include better HTML5 support, CSS3 support, XHTML parsing, Javascript compilation and an overall trend towards a more standards-based approach that Microsoft hasn't worried about in a good while now. He also mentions the <a href="http://www.odata.org/">OData</a> toolkit that lets your web applications speak the same "language" according to Microsoft's more unified specification.
</p>]]></description>
      <pubDate>Tue, 13 Apr 2010 10:08:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Beaver's Blog: How to put the FAIL in open source]]></title>
      <guid>http://www.phpdeveloper.org/news/13563</guid>
      <link>http://www.phpdeveloper.org/news/13563</link>
      <description><![CDATA[<p>
There's been a lot of controversy around the PHP Standards group that was formed around May of 2009 and how they've handled the decision making process. They want to provide a standard that frameworks and other applications can follow to help making them all play nicely together a much easier process. Unfortunately, they decided to go the "closed source" way. <i>Greg Beaver</i> has <a href="http://greg.chiaraquartet.net/archives/206-How-to-put-the-FAIL-in-open-source.html">posted some of his thoughts</a> on their approach.
</p>
<blockquote>
The idea is a wonderful one, and at first things looked like they were nothing but good. [...] At this point, signs of trouble began to crop up, and the good intentions began to result in a chill on the openness with suggestions of <a href="http://greg.chiaraquartet.net/exit.php?url_id=707&entry_id=206">reducing input through moderation</a> and discussions of who was a "member" of the standards group. [...] Since then, I have made several pleas, off-list and some on, to open the discussion and move things back to the way open source and specifically PHP works.
</blockquote>
<p>
<i>Greg</i>'s comments are shared by several in the community who wonder why something that could be such a key point for so many applications only involved a handful of the community. Be sure to check out <a href="http://greg.chiaraquartet.net/archives/206-How-to-put-the-FAIL-in-open-source.html#comments">the comments</a> to hear the community voicing some of their own opinions on the subject, both for and against the way the standards group has been handled so far.
</p>]]></description>
      <pubDate>Thu, 19 Nov 2009 10:04:53 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Patrick Allaert's Blog: Coding standards: converts PHP4 style constructors to PHP5 one]]></title>
      <guid>http://www.phpdeveloper.org/news/13456</guid>
      <link>http://www.phpdeveloper.org/news/13456</link>
      <description><![CDATA[<p>
<i>Patrick Allaert</i> has <a href="http://patrickallaert.blogspot.com/2009/10/coding-standards-converts-php4-style.html">put together a shell command</a> that can take your PHP4 code and replace its current constructors with PHP5-formatted ones.
</p>
<blockquote>
It assumes your classes are always declared with the class keyword starting at the beginning of the line and that your files have the .php extension.
</blockquote>
<p>
It uses a regular expression in a perl command to search through the current directory and look for the ".php" files to replace the "function ClassName" sort of thing with a "function __construct".
</p>]]></description>
      <pubDate>Fri, 30 Oct 2009 07:51:39 -0500</pubDate>
    </item>
  </channel>
</rss>

