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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.