Using Zend_Cache with Zend_Feed
Tuesday, August 31, 2010

I have described how to use Zend_Feed to retrieve a digest of a blog’s latest entries in a previous post. In the overall implementation described in my series of posts, this digest is fetched every time a page is loaded. Although, by using AJAX techniques, this does not slow the loading of the basic page, it does result in some unnecessary repetitive work, since the blogs are not updated that often. In this post, I shall look at how I am using caching on the recently revamped GM-RAM website to save the results and reuse them. (more…)

Posted by admin at 6:58 pm   1 comment

GM-RAM Website Revamped
Sunday, August 22, 2010

I have just put up the latest version of the GM-RAM website. In appearance, it is very similar to the old site; the main visual changes have been the switch to a three column layout, and the decision to dispense with jQuery UI tabs on the site pages. The content has hopefully been improved to make it clearer what GM-RAM does, including some of the projects we have been involed in. (more…)

Posted by James at 11:47 pm   0 comments

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

A custom resource plugin for populating the registry
Saturday, August 14, 2010

This post looks at a simple custom resource plugin that I’ve recently created for populating the registry with values from the application configuration file. I have already examined adding a Log plugin and a View plugin in previous posts; the basic technique for adding this one is the same. (more…)

Posted by James at 4:21 pm   1 comment

Practical Web 2.0 Applications with PHP by Quentin Zervaas
Sunday, August 8, 2010

Books or articles about PHP or JavaScript have usually been pitched at the novice programmer; this is fine if you are a novice programmer, but as someone with considerable experience of C++ and other such languages, I don’t fall into that category. As a result, I find these works tend to finish at the point where I’d like them to begin! For me, the chief merit of Practical Web 2.0 Applications with PHP by Quentin Zervaas is that it is pitched at a higher level, and therefore addresses the sort of topics that I am more interested in. (more…)

Posted by James at 7:06 pm   0 comments

Checking that a password is repeated correctly using Zend_Validate_Identical
Sunday, August 1, 2010

When a user is asked to enter a new password, it is customary to ask the user to repeat it, in order to reduce the risk of it being entered incorrectly. In the Zend Framework, there is a validator that can check whether two items are identical, but using it with Zend_Form is tricky, because it needs the values of two fields to make the comparison, while validators are attached to a single field, independently of the others. This article looks at how to use Zend_Validate_Identical with Zend_Form. (more…)

Posted by James at 10:41 am   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

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