<?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>Sun, 11 May 2008 21:17:42 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[IBM developerWorks: Five more PHP design patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/9875</guid>
      <link>http://www.phpdeveloper.org/news/9875</link>
      <description><![CDATA[<p>
The IBM developerWorks site has a <a href="http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/index.html?ca=drs-tp1308">new article</a> posted that talks about design patterns, five of them in particular, that can help to "accelerate your PHP development" and make your code more maintainable down the line.
</p>
<blockquote>
As an application developer, you can have a lifelong career without ever knowing what any of the patterns are called or how or when they're used. However, I've found that a good working knowledge of these patterns, as well as those introduced in the developerWorks article "Five common PHP design patterns" (see <a href="http://www.ibm.com/developerworks/opensource/library/os-php-designpatterns/index.html?ca=drs-tp1308#resources">Resources</a>), allows you to do two things: Enable high-bandwidth conversations and reduce painful lessons.
</blockquote>
<p>
The patterns they talk about in this "five more" article of the series are:
</p>
<ul>
<li>Adapter Pattern
<li>Iterator Pattern
<li>Decorator Pattern
<li>Delegate Pattern
<li>State Pattern
</ul>
<p>
Diagrams are provided for each of them, showing how they flow along with brief code examples (structures really) to show how that transitions over to actual use.
</p>]]></description>
      <pubDate>Fri, 28 Mar 2008 08:49:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rob Allen's Blog: Simple Zend_Form Example]]></title>
      <guid>http://www.phpdeveloper.org/news/9686</guid>
      <link>http://www.phpdeveloper.org/news/9686</link>
      <description><![CDATA[<p>
<i>Rob Allen</i> has <a href="http://akrabat.com/2008/02/21/simple-zend_form-example/">posted an example</a> - a "super simple, complete example" of how to use the Zend_Form component of the <a href="http://framework.zend.com">Zend Framework</a> to create a basic contact form.
</p>
<blockquote>
Following on from the <a href="http://akrabat.com/2007/12/11/simple-zend_layout-example/">Simple Zend_Layout Example</a>, Zend_Form is now in the trunk, so here's a super simple, complete example that shows it in action.
</blockquote>
<p>
He includes screenshots of the different steps along the way - the form that will be generated, the structure of the directories and, of course, the contents of the PHP files to make things happen. He also mentions the use of Decorators (the design pattern) to assign the various attributes of the form element object.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 11:07:10 -0600</pubDate>
    </item>
  </channel>
</rss>
