The About Page
Sunday, November 1, 2009
The implementation of the about page is similar to that of the home page, as described in the post The Home Page. (more…)
The implementation of the about page is similar to that of the home page, as described in the post The Home Page. (more…)
In this post we will look at a custom view helper, which is used on the sample website to render a link to a page in the site navigation. (more…)
The home page is rendered by the index action handler of the index controller. (more…)
We looked at Zend_Layout in general terms in the previous now; now we are going to examine the main layout script used in the sample application. (more…)
The Zend Framework provides a convenient mechanism for encapsulating code used repeatedly to render parts of view scripts. For instance, it is shipped with the standard helper Zend_View_Helper_HtmlList, which is used to convert a list in PHP array for to the corresponding HTML markup. As well as the many standard helpers, it is also possible to create your own. (more…)
As mentioned previously, the framework normally tries to find and execute a view script after exiting the action method in the controller class; to stop it from doing this, you need to add the following line to the method: (more…)
The previous post described the request handling process up to the point where the controller passes control to the view script. (more…)
Up to this point we have been considering the bootstrapping process for Zend Framework applications. Now we come to the main part of handling a request: the Zend Framework MVC structure. (more…)
As well as writing a completely new resource plugin to use with Zend_Application, it is also possible to write a plugin that replaces one of the standard ones. The reason for doing this is that the existing plugins sometimes don’t do all the things that you want them to. (more…)