News Feed
Sections




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

MaltBlue.com:
Zend Form Mastery with Zend_Config - Part 2, Core Form Configuration
May 15, 2012 @ 11:04:01

In his previous post to the MaltBlue.com blog Matt introduced the concept of configuration-driven Zend_Form instances. He's back with a second part to the series, enhancing his original examples by covering some of the base-level form configuration settings.

Ok, this should have been part one, but irrespective, here's the second installment in zend form mastery with zend config - core form configuration. As the W3c Form spec says, there are 8 attributes applicable to forms.

These attributes, including "action", "name" and "onsubmit", can all be set easily in the XML-based configuration file. He includes an example of the full XML file to show how they all fit together (updated from part 1). You can see an example of the output here and can grab the source for the example from github.

0 comments voice your opinion now!
zendframework zendconfig zendform generation xml tutorial


blog comments powered by Disqus

Similar Posts

Utah PHP Users Group: PHP-CAPTCHA

Gonzalo Ayuso: Handling several DBALs in Symfony2 through the Dependency Injection with PHP

PHPMaster.com: Charting with pChart

Cal Evans' Blog: How I got Zend_Tool working on Windows

Pádraic Brady's Blog:Doing that thing called PEAR - Packaging Source Code for PEAR Distribution


Community Events





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


podcast list testing api interview developer refactor release unittest install threedevsandamaybe wordpress introduction code opinion framework series community laravel language

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