News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Zienert's Blog:
Zend_Form Decorators and Composite Elements
June 23, 2010 @ 12:50:12

Rob Zienert has a new post to his blog today looking at Zend_Form decorators and composite elements to make for more powerful forms in your Zend Framework application.

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?

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 this account on Github

0 comments voice your opinion now!
zendform decorators composite tutorial


Ivo Jansch's Blog:
Building proxies, decorators and delegates in PHP5
July 03, 2006 @ 19:54:13

Ivo Jansch today gives an excellent look on proxies, decorators and delegates; three popular desigh patterns.

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.

This is a great introduction to these three patterns and how to implement them in PHP

0 comments voice your opinion now!
design patterns proxies decorators delegates design patterns proxies decorators delegates



Community Events











Don't see your event here?
Let us know!


code package facebook introduction framework series example symfony2 component install language opinion hack composer release hhvm unittest application security podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework