Chapter 2. Designing Your Site
In this chapter, you'll create the template for your CMS using
Zend_Layout, which make up the presentation layer for the Zend Framework.
Rendering the Presentation Layer with Zend_View
The core purpose of the
Zend_View class is to separate this presentation code from the application logic and data. Separating the HTML from your core application code makes all your code easier to read and follow.
The view scripts are basically PHP files that are rendered within the scope of
Zend_View. As such, you can use any of the standard PHP that you need to create your dynamic templates. This is one of the things that I like best about the framework; it gives you a rich set of tools to help with common ...