<?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 03:51:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Rob Zienert's Blog: Zend_Form Decorators and Composite Elements]]></title>
      <guid>http://www.phpdeveloper.org/news/14692</guid>
      <link>http://www.phpdeveloper.org/news/14692</link>
      <description><![CDATA[<p>
<i>Rob Zienert</i> has a new post to his blog today looking at <a href="http://robzienert.com/2010/06/22/zend_form-decorators-and-composite-elements/">Zend_Form decorators and composite elements</a> to make for more powerful forms in your Zend Framework application.
</p>
<blockquote>
Today had quite a number of Zend_Form-related questions in #zftalk. Everything from Decorators to Composite Elements, you know - the usual Zend_Form questions. What better way to answering questions than with a blog post and some sample code?
</blockquote>
<p>
His illustration of decorators shows how to put each of the form elements inside of a "DI" tag to help makes the lives of the frontend developers that much simpler. For the composite elements he shows how to use them to group a set of selects into one object that is then validated through Zend_Date for valid date information. You can grab the code for each of these illustrations from <a href="http://github.com/robzienert/ZFTutorials/tree/feature/form-decorators">this account</a> on Github
</p>]]></description>
      <pubDate>Wed, 23 Jun 2010 12:50:12 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ivo Jansch's Blog: Building proxies, decorators and delegates in PHP5]]></title>
      <guid>http://www.phpdeveloper.org/news/5740</guid>
      <link>http://www.phpdeveloper.org/news/5740</link>
      <description><![CDATA[<p>
Ivo Jansch today gives an <a href="http://www.achievo.org/blog/archives/44-Building-proxies,-decorators-and-delegates-in-PHP5.html">excellent look</a> on proxies, decorators and delegates; three popular desigh patterns.
</p>

<blockquote>
<p>
In PHP5, you can define methods in an object for intercepting calls to methods of an object and for intercepting access to object member variables. These methods (__get, __set and __call) enable the implementation of very generic proxies, decorators and delegators.
</p>
</blockquote>

<p>
<a href="http://www.achievo.org/blog/archives/44-Building-proxies,-decorators-and-delegates-in-PHP5.html">This</a> is  a great introduction to these three patterns and how to implement them in PHP
</p>]]></description>
      <pubDate>Mon, 03 Jul 2006 19:54:13 -0500</pubDate>
    </item>
  </channel>
</rss>
