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   2 comments

Setting Up a Zend Framework Application on IIS
Saturday, May 15, 2010

There are several problems associated with running Zend Framework applications on IIS. This post looks at how to address these problems. (more…)

Posted by James at 12:44 pm   0 comments

The Blogs Page: The feed digest view helper
Saturday, April 17, 2010

The feed digest helper is used to fetch a list of the most recent items posted on a blog, using its RSS feed. (more…)

Posted by James at 10:41 am   1 comment

The Blogs Page: The feed/digest view script
Friday, April 16, 2010

The view script for the feed/digest action is straightforward. If there is an error, that is rendered; otherwise, the feed digest is displayed. (more…)

Posted by James at 12:02 am   0 comments

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 AJAX feed digest view helper
Sunday, April 4, 2010

The implementation of the AjaxFeedDigest view helper is contained in the file AjaxFeedDigest.php, which is located in the /application/views/helpers directory. (more…)

Posted by James at 4:47 pm   0 comments

Creating a Datestamped Log File using the Standard Log Resource Plugin
Wednesday, March 10, 2010

In a previous post, I looked at creating a custom resource plugin to create a logger. Since I wrote that code, a standard resource plugin to perform this function has been created. At first sight the standard plugin is inferior, in that the custom plugin allows for the insertion of a date into the log filename, which allows a new log to be created every day, while the standard plugin requires a fixed filename specified in the configuration file. However, I have worked out a simple mechanism for adding a date stamp to the filename, which I shall share in this article. (more…)

Posted by James at 11:40 pm   2 comments

The Blogs Page: The index/blogs view script
Sunday, February 28, 2010

As with the other pages, the view script for the blogs page makes use of jQuery UI tabs. The special feature of this page compared to the others is that the number of tabs is dependent on the number of blogs in the database. (more…)

Posted by James at 1:36 pm   0 comments

The Blogs Page: The mapper classes
Tuesday, February 9, 2010

The Default_Model_Db_Mapper_Blog class is used to manage data exchange between the Default_Model_Db_Blog and the Default_Model_Db_Table_Blog classes; this exchange represents reading data from and writing data to the database. (more…)

Posted by James at 12:52 am   2 comments

The Blogs Page: The data classes
Saturday, December 19, 2009

The Default_Model_Db_Blog class is used to encapsulate the data contained in the rows of the blog table. (more…)

Posted by James at 1:55 pm   0 comments
« Previous PageNext Page »