Chapter 3. Building and Processing Web Forms with Zend_Form

Almost every aspect of your CMS project will be dealing with dynamic data in one form or another. Managing this data is broken down into two areas of responsibility:

  • Capturing the data: The data is captured, validated, and filtered by Zend_Form.

  • Storing the data: This depends on the data source, but in the case of this CMS, the data will be stored by Zend_Db.

This separation contrasts some other patterns that handle data validation and filtering in the database abstraction layer. There is a good reason for this; a database is only one of many data sources that are at an application developer's disposal. It is common to use several sources in the same application. When the form object handles ...

Get Pro Zend Framework Techniques: Build a Full CMS Project now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.