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

Rob Allen's Blog:
Simple Zend_Form Example
Feb 22, 2008 @ 17:07:10

Rob Allen has posted an example - a "super simple, complete example" of how to use the Zend_Form component of the Zend Framework to create a basic contact form.

Following on from the Simple Zend_Layout Example, Zend_Form is now in the trunk, so here's a super simple, complete example that shows it in action.

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.

tagged: zendform zendframework example screenshot decorator

Link:


Trending Topics: