News Feed
Sections
News Archive


Community Events






feed this:

Vinu Thomas' Blog:
Quicker and cleaner Form using Zend Form
0 comments :: posted Wednesday February 13, 2008 @ 08:56:00
voice your opinion now!

On his blog today, Vinu Thomas has an example of what he calls a "quicker and cleaner form" using the Zend_Form component of the Zend Framework.

Usually handing forms involves coding the form in HTML and performing client and server side validation, which usually makes the code for complex forms quite unwieldy. Zend_Form which is available in Zend Framework version 1.5 aims at simplifying this process.

With this new version comes the ability to add in methods for validation right into the form definition. His example shows a traditional login form that checks things like if it's required, checking the length and adding filters to modify the input.

tagged with: zendframework zendform validate field definition



releases conference job zendframework pecl PEAR zend application book PHP5 code mysql framework developer cakephp database release security ajax package

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