News Feed
Sections




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

Vinu Thomas' Blog:
Quicker and cleaner Form using Zend Form
February 13, 2008 @ 08:56:00

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.

0 comments voice your opinion now!
zendframework zendform validate field definition


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Using models as criteria objects for querying the database

Pablo Viquez's Blog: MySQL Profiling and Zend Framework

Jani Hartikainen's Blog: Handling errors in Zend Framework

Voices of the ElePHPant: Interview with Matthew Weier O'Phinney

PHPImpact Blog: Zend Framework Automatic Dependency Tracking


Community Events





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


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

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