<?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 01:53:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Zend Framework: Survive The Deep End Update]]></title>
      <guid>http://www.phpdeveloper.org/news/12202</guid>
      <link>http://www.phpdeveloper.org/news/12202</link>
      <description><![CDATA[<p>
For those wondering about the status of his book, "Zend Framework: Survive The Deep End", <i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/396-Zend-Framework-Survive-The-Deep-End-Update.html">posted an update</a> of where he's at.
</p>
<blockquote>
Since the rumor mill has been active a while, I confirm two chapters of the book will be released this week. [...] To kick off a new spell of book updates, the next Chapter will be "A Simple Hello World Example", with an Appendix titled "Virtual Hosts On Apache 2". The following Chapter approximately one week later will be an introduction to the application to be built for most of the first half of the book.
</blockquote>
<p>
He notes that, while normal print books usually have schedules, self-publishing is a bit more flexible. He does want to assure the readers of the book that work is actively being done and the chapters will keep coming.
</p>]]></description>
      <pubDate>Wed, 25 Mar 2009 07:54:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action Blog: One behavior != one assertion]]></title>
      <guid>http://www.phpdeveloper.org/news/12011</guid>
      <link>http://www.phpdeveloper.org/news/12011</link>
      <description><![CDATA[<p>
On the PHP in Action blog, despite some agreement with <i>Padraic Brady</i> on his <a href="http://www.phpdeveloper.org/news/11958">one behavior, one assertion</a> method for writing unit tests, <i>Dagfinn Reiersol</i> still <a href="http://blog.agilephp.com/2009/02/21/one-behavior-one-assertion/">has his reservations</a>.
</p>
<blockquote>
Pádraic maintains that one assertion per test is a rule that should always be followed unless there is a specific good reason to break it. I prefer it as a guideline, as does Robert C. Martin in the book <a href="http://www.amazon.com/gp/product/0132350882?ie=UTF8&tag=phinac-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0132350882">Clean Code</a>. The reference is not intended as an appeal to authority to "prove" that I'm right. I'm just making the point that I think this reflects the current state of the art, which is not necessarily perfect, of course.
</blockquote>
<p>
<i>Dagfinn</i> talks about behavior-driven development and illustrates how a two assertions could be combined into one but that the end result "isn't very pretty" - and that's just testing two proterties of a single object. Imagine what would happen if things got more complex.
</p>]]></description>
      <pubDate>Tue, 24 Feb 2009 11:13:17 -0600</pubDate>
    </item>
  </channel>
</rss>
