News Feed
Sections




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

Pieter's Blog:
Zend_Form with XML Tutorial
March 10, 2008 @ 12:57:00

Pieter has blogged today with an example of using an XML configuration file together with the Zend_Form component of the Zend Framework to create a simple form - in his example, a login form.

During my interneship if been busy with Zend_Form and XML and now I like to share it with you. So here is a very easy, complete example that shows it in action. Let's make a small login form from XML with Zend_Form.

The Zend Framework has the functionality for this already built in - a call to create a Zend_Config_Xml object passing in the XML file's name is all it takes. He includes a sample XML file that shows the setup of the form as well as how to perform some of the validation techniques (like checking length and pattern matching).

0 comments voice your opinion now!
zendform zendframework xml generate tutorial example


blog comments powered by Disqus

Similar Posts

Felix Geisendörfer's Blog: Learning from the CakePHP Source Code (Part 1)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 6)

SitePoint PHP Blog: Generate Excel Files and Charts with PHPExcel

Ibuildings techPortal: DPCRadio: Working with Zend_Form

PHP-Learn-It.com: Cooking Cookies with PHP


Community Events





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


community release laravel podcast interview series tips framework language deployment introduction code list symfony development bugfix zendserver api conference threedevsandamaybe

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