<?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>Fri, 04 Jul 2008 21:25:40 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stefan Priebsch's Blog: Custom Coding Standards with PHP_CodeSniffer]]></title>
      <guid>http://www.phpdeveloper.org/news/10541</guid>
      <link>http://www.phpdeveloper.org/news/10541</link>
      <description><![CDATA[<p>
<i>Stefan Priebsch</i> <a href="http://inside.e-novative.de/archives/124-Custom-Coding-Standards-with-PHP_CodeSniffer.html">recently posted</a> about his struggles with creating a custom coding started with the <a href="http://inside.e-novative.de/exit.php?url_id=1295&entry_id=124">PHP_CodeSniffer</a> package:
</p>
<blockquote>
In CodeSniffer, a coding standard is basically represented by an empty class that extends PHP_CodeSniffer_Standards_CodingStandard. I could not get the CodeSniffer to find my coding standard, though, and found the documentation lacking about where to put it, how to name it, and how to refer to it in the --standard switch.
</blockquote>
<p>
After an email to <a href="http://inside.e-novative.de/exit.php?url_id=1298&entry_id=124">Greg Sherwood</a> (developer of the package</a>) <i>Stefan</i> figured out his issue and has <a href="http://inside.e-novative.de/archives/124-Custom-Coding-Standards-with-PHP_CodeSniffer.html">shared the solution</a> in this post (step by step).
</p>]]></description>
      <pubDate>Thu, 03 Jul 2008 12:02:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tilllate Blog: Unit testing makes coding more fun]]></title>
      <guid>http://www.phpdeveloper.org/news/10329</guid>
      <link>http://www.phpdeveloper.org/news/10329</link>
      <description><![CDATA[<p>
According to <a href="http://techblog.tilllate.com/2008/06/01/unit-testing-makes-coding-more-fun/">a new post</a> on the tilllate blog today, "unit testing makes coding more fun":
</p>
<blockquote>
<p>
"Unit testing is a test that validates that individual units of source code are working properly", that's what <a href="http://en.wikipedia.org/wiki/Unit_testing">Wikipedia says</a> about unit testing. That's general knowledge.
</p>
<p>
But what motivates me even more than the increased software quality is that it saves me development time. This sounds odd as you might believe that <a href="http://en.wikipedia.org/wiki/Test-driven_development">TDD</a> means writing more code.
</p>
</blockquote>
<p>
A real-life example is included (an internal invoicing system) with the steps they'd follow to test it normally via the browser (slow) or through the automated tests (fast!) 
</p>]]></description>
      <pubDate>Tue, 03 Jun 2008 10:23:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: Line Length, Volume, and Density]]></title>
      <guid>http://www.phpdeveloper.org/news/9775</guid>
      <link>http://www.phpdeveloper.org/news/9775</link>
      <description><![CDATA[<p>
In a <a href="http://paul-m-jones.com/?p=276">new blog post</a>, <i>Paul Jones</i> looks at three aspects of coding style - line length, volume and density - and how different people have different assumptions as to what's "right".
</p>
<blockquote>
When it comes to coding style, there are are various ideas about how you should write the individual lines of code. The usual argument is about "how long should a line of code be"? There's more to it than that, though. Developers should also take into account line volume ("number of lines") and line density ("instructions per line").
</blockquote>
<p>
He mentions the <A href="http://pear.php.net/manual/en/standards.php">PEAR style guide</a> when talking about line length, reading code like and sentence in line volume/density and how the "shorter is better" concept can be pushed to its extreme limits taking code into the unreadable zone.
</p>]]></description>
      <pubDate>Tue, 11 Mar 2008 09:33:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Zend Framework coding standards on one page]]></title>
      <guid>http://www.phpdeveloper.org/news/9610</guid>
      <link>http://www.phpdeveloper.org/news/9610</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i>, in working on his component for the Zend Framework (based on the <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_CodeSniffer</a> PEAR package), pulled together all of the information Zend provides about their coding standards into one place.
</p>
<blockquote>
Before jumping into the development of a Zend Framework coding standard for the <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_CodeSniffer</a> Pear package, I spent some time revisiting and compiling the available Zend Framework <a href="http://framework.zend.com/manual/en/coding-standard.html">coding standards</a> into a handy one-paged Pdf document.
</blockquote>
<p>
You can <a href="http://raphael.stolt.googlepages.com/ZendFramework_coding_standards_on_on.pdf">download the file here</a> or, if you want something a bit more "spread out", check out <a href="http://framework.zend.com/manual/en/coding-standard.html">the coding standards</a> on the Zend Framework website.
</p>]]></description>
      <pubDate>Tue, 12 Feb 2008 07:59:00 -0600</pubDate>
    </item>
  </channel>
</rss>
