Adding an automatically-generated sitemap.xml to a Zend Framework site
Saturday, August 21, 2010

This article looks at how to dynamically create a Google sitemap.xml file for your Zend Framework site. It assumes that you are using Zend_Navigation to describe the basic layout of your site. It also assumes that the application is based on Zend_Application and uses Zend_Layout. (more…)

Posted by James at 6:08 pm   1 comment

Pagination using Zend_Paginator
Sunday, July 4, 2010

Any web application that retrieves large amounts of data for display is bound to have the need to split that data over several pages. Developing the code to do this from scratch is not trivial, so it is extremely useful that the Zend Framework has the Zend_Paginator module, which assists with this task. (more…)

Posted by James at 1:54 pm   1 comment

The Blogs Page: The feed/digest action handler
Friday, April 9, 2010

The feed controller digest action handler is used to render a list of the five most recent blog posts on the specified blog, as exposed by the blog’s RSS feed. (more…)

Posted by James at 7:18 am   0 comments

The Blogs Page: The index/blogs action handler
Friday, December 4, 2009

The blogs page is handled by the blogs action of the index controller. This fetches information about the blogs from a database table; it then passes this information to the view script. (more…)

Posted by James at 12:47 am   0 comments

The Contact Page: The Action Handler
Monday, November 2, 2009

The visual implementation of the contact page is similar to that of the home page, as described in the post The Home Page. However, it also makes use of Zend_Form and Zend_Validate to render and process the contact form, and Zend_Layout, Zend_Filter and Zend_Mail to render and send the contact e-mail to the site admin. (more…)

Posted by James at 10:35 pm   0 comments

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

Posted by James at 5:36 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

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