O'Reilly logo

Pro Zend Framework Techniques: Build a Full CMS Project by Forrest Lyman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required