<?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, 16 May 2008 00:11:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: PHP Has No Culture of Testing]]></title>
      <guid>http://www.phpdeveloper.org/news/10161</guid>
      <link>http://www.phpdeveloper.org/news/10161</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has <a href="http://sebastian-bergmann.de/archives/779-PHP-Has-No-Culture-of-Testing.html">pointed out</a> something obvious to anyone that's ever tried to work with unit tests in PHP - there's just not that much support for it. The software is there and waiting to be used, but too many developers just don't take advantage of it.
</p>
<blockquote>
Maybe it took the PHP community a little longer to realize the importance of testing. But now that we know how to build applications that "just work", are fast and scalable, as well as secure, a big topic in the PHP community right now is to implement processes and use techniques that help us assure that the software works correctly throughout the its lifecycle.
</blockquote>
<p>
He points to some <a href="http://www.infoworld.com/article/08/05/05/rails-php_1.html">comments</a> made at a recent panel discussion about PHP and testing, the proliferation of frameworks for the language and the <a href="http://mysqldump.azundris.com/archives/55-phpvikinger.org-Things-that-have-no-name.html">things that have no name</a> that developers use every day to make their code "just work".
</p>]]></description>
      <pubDate>Mon, 12 May 2008 10:28:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Sample Chapter From Pro PHP, Patterns, Frameworks, Testing and More]]></title>
      <guid>http://www.phpdeveloper.org/news/9961</guid>
      <link>http://www.phpdeveloper.org/news/9961</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/3383-Sample-Chapter-From-Pro-PHP-Patterns-Frameworks-Testing-and-More">posted a sample chapter</a> from a new book Packt Publishing has put out called "Pro PHP, Patterns, Frameworks, Testing and more <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPro-PHP-Patterns-Frameworks-Testing%2Fdp%2F1590598199&tag=postcarfrommy-20&linkCode=ur2&camp=1789&creative=9325">by Kevin McArthur</a>.
</p>
<blockquote>
So today you get a double bonus. You get to check out <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FPro-PHP-Patterns-Frameworks-Testing%2Fdp%2F1590598199&tag=postcarfrommy-20&linkCode=ur2&camp=1789&creative=9325">Pro PHP, Patterns, Frameworks, Testing and more</a> by Kevin McArthur. You also get a great tutorial on SPL! 
</blockquote>
<p>
The sample chapter looks (obviously) <a href="http://devzone.zend.com/content/McArthur_Ch9.pdf">at the SPL</a>, the Standard PHP Library - functions included with PHP5 releases to accomplish some pretty cool things.
</p>]]></description>
      <pubDate>Fri, 11 Apr 2008 15:38:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schluter's Blog: PHP 5.3: Up to 30% performance win]]></title>
      <guid>http://www.phpdeveloper.org/news/9859</guid>
      <link>http://www.phpdeveloper.org/news/9859</link>
      <description><![CDATA[<p>
As <i>Johannes Schluter</i> <a href="http://schlueters.de/blog/archives/68-PHP-5.3-Up-to-30-performance-win.html">mentions</a>, the results of some benchmarking have been <a href="http://news.php.net/php.internals/36484">posted</a> concerning the performance of PHP 5.3 versus the current 5.2 series:
</p>
<blockquote>
Dmitry <a href="http://news.php.net/php.internals/36484">posted results</a> of performance test comparing PHP 5.2 and 5.3 to internals which are impressive numbers.
</blockquote>
<p>
The improvements were measured based on several popular pieces of software like Drupal, typo3 and WordPress. The overall performance gian was around thirty percent across the board.
</p>]]></description>
      <pubDate>Wed, 26 Mar 2008 10:28:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Internet Super Hero Blog: Is PDO::FETCH_UNIQUE broken by design?]]></title>
      <guid>http://www.phpdeveloper.org/news/9758</guid>
      <link>http://www.phpdeveloper.org/news/9758</link>
      <description><![CDATA[<p>
On the Internet Super Hero blog, there's a <a href="http://blog.ulf-wendel.de/?p=179">post</a> that looks at how PDO is implemented in PHP and wonders if the PDO::FETCH_UNIQUE constant is broken (as something to fix before even considering the move to PDO2).
</p>
<blockquote>
I spent quite a lot of time comparing the different behaviours of the various drivers in the hope I could find out how PDO drivers are supposed to work. The PDO documentation and the specification do not cover each and every detail. PDO really needs some love...
</blockquote>
<p>
He picks out the FETCH_UNIQUE constant as one that needs a little work and tries to track down exactly what it's doing. One issue he found was that it requires combination with other flags to make the unique part of it work correctly (like FETCH_OBJ or FETCH_COLUMN). He works through several examples, both ones that apply the unique call and others that don't, comparing the results.
</p>]]></description>
      <pubDate>Fri, 07 Mar 2008 10:25:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action Blog: Tips for web testing]]></title>
      <guid>http://www.phpdeveloper.org/news/9619</guid>
      <link>http://www.phpdeveloper.org/news/9619</link>
      <description><![CDATA[<p>
On the PHP in Action Blog, there's a <a href="http://www.reiersol.com/blog/index.php?op=ViewArticle&articleId=11&blogId=1">this post</a> that shares some tips for testing your web applications with some simple tests.
</p>
<blockquote>
I just started listing the techniques I've learned when writing tests to exercise the web interface of a PHP application. This is from my experience and my personal preferences; it's not the final word or necessarily right for everyone.
</blockquote>
<p>He suggests:</p>
<ul>
<li>Use SimpleTest's Web tester if you can
<li>Test the web output using regular expressions
<li>Use element IDs or names to test links, forms and fields
<li>Log HTTP requests in the application
</ul>]]></description>
      <pubDate>Wed, 13 Feb 2008 08:09:46 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: The PHPSpec Zend Framework App Testing Manifesto: ZF Integration]]></title>
      <guid>http://www.phpdeveloper.org/news/9458</guid>
      <link>http://www.phpdeveloper.org/news/9458</link>
      <description><![CDATA[<p>
Continuing on from his <a href="http://www.phpdeveloper.org/news/9416">preamble</a> on the integration of the PHPSpec BDD tool into the Zend Framework, <i>Padraic Brady</i> has posted <a href="http://blog.astrumfutura.com/archives/336-The-PHPSpec-Zend-Framework-App-Testing-Manifesto-ZF-Integration.html">the next in the series</a> - a look at what it would take to make the integration happen.
</p>
<blockquote>
The ideal was to move away from line-by-line setup and manipulation of Zend instances towards a more simplified model which is standardised for any <a href="http://www.phpspec.org/">PHPSpec</a> specs.
</blockquote>
<p>
He's already created an "experimental branch" to work inside of and some of these updates have been made to the trunk for the release of PHPSpec 0.3.0. The key that he found was in getting the customization of the "Zend Context operational to set up elements of the FrontController". He also includes a simple example of the extended functionality in action - simple interface methods to work with Twitter.
</p>]]></description>
      <pubDate>Mon, 21 Jan 2008 10:21:00 -0600</pubDate>
    </item>
  </channel>
</rss>
