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 1, Custom Filter Paths
Apr 30, 2012 @ 08:16:22

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.

tagged: zendframework zendform zendconfig configuration tutorial

Link: