PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

MaltBlue.com: Zend Form Mastery with Zend Config - Part 1, Custom Filter Paths

Note: This article was originally published at PHPDeveloper on 30 April 2012.
PHPDeveloper

From MaltBlue.com there's a new post (the first in a series) about mastering Zend_Form. In this first part of the series, they look at creating custom filter paths with the help of the Zend_Config component.

When you're working with Zend Framework, and code in general, you keep your configuration as much out of code as you can - right? Well, if you want to write maintainable and flexible code you do. Well, if you've been working with Zend Framework and Zend Form for more than a little while, you know that it really makes that pretty simple via Zend_Config - well, some of the time.

The article shows introduces you to some of the common configuration settings of Zend_Form and how those can be set in a configuration to make building the forms simpler. They talk about pre-element and form-wide filters in this first part of the series, including some code/configuration examples.