The Navigation Link View Helper
Tuesday, October 27, 2009

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…)

Posted by James at 11:24 pm   0 comments

The Home Page
Monday, October 26, 2009

The home page is rendered by the index action handler of the index controller. (more…)

Posted by James at 8:49 pm   0 comments

The Error Controller
Wednesday, October 21, 2009

There are two basic kinds of errors that occur in Zend Framework applications: Page Not Found and Internal Error. These are handled by the error controller. (more…)

Posted by James at 7:45 pm   0 comments

The Sample Application Stylesheet
Monday, October 19, 2009

The application makes use of two stylesheets. The first is called default.css and is located in the htdocs/css directory. The second is called jquery-ui-1.7.2.custom.css and is located in the htdocs/css/smoothness, along with its associated image files; this was created using the jQuery UI ThemeRoller and is used by the jQuery UI components. We will be looking at the first of these in this article. (more…)

Posted by James at 9:41 pm   0 comments

The Sample Application Layout
Saturday, October 17, 2009

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…)

Posted by James at 2:52 pm   0 comments

Zend Framework Layouts Overview
Thursday, October 8, 2009

The Zend Framework is shipped with a template module called Zend_Layout. This allows the specific content for a page to be injected into one or more places in some standard content. (more…)

Posted by James at 8:04 pm   0 comments

Zend Framework View Helpers
Wednesday, October 7, 2009

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…)

Posted by James at 8:57 pm   0 comments

Zend Framework Controller and View Interaction
Tuesday, October 6, 2009

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…)

Posted by James at 6:35 pm   0 comments

Zend Framework View Scripts
Monday, October 5, 2009

The previous post described the request handling process up to the point where the controller passes control to the view script. (more…)

Posted by James at 6:15 pm   0 comments

Zend Framework Controllers
Sunday, October 4, 2009

As discussed in the previous post, the Zend Framework breaks down a request into four parts: module, controller, action and parameters. When it has down this, it looks for the appropriate handler for the specified combination of module, controller and action. (more…)

Posted by James at 7:12 pm   0 comments
Next Page »