The Login Page: The login/index view script
Wednesday, November 3, 2010

The previous post discussed the implementation of the Login Controller; in this post, we will look at the implementation of the view script associated with the login/index action. (more…)

Posted by James at 9:00 am   0 comments

Adding Lightbox to the GM-RAM Website
Sunday, September 12, 2010

To quote the Lightbox 2 website:

Lightbox is a simple, unobtrusive script used to overlay images on the current page. It’s a snap to setup and works on all modern browsers.

I decided to add the script to the GM-RAM website in order to allow visitors to view full-sized versions of the screen shots there without having to navigate to a separate page. (more…)

Posted by James at 12:39 pm   1 comment

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 James at 6:58 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   2 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 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

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: Overview
Friday, November 27, 2009

The blogs page on the GM-RAM website is used to display details of the company-sponsored blogs, including a digest of the five most recent posts. Like the other pages on the site, it displays its content within a series of tabs. The first tab simply contains some general comments about the blogs; each blog then has its own tab. (more…)

Posted by James at 8:03 pm   0 comments

The Contact Page: The View Script
Tuesday, November 3, 2009

As with the home page, the view script for the contact page makes use of jQuery UI tabs. See the post The Home Page for more information the ZendX_JQuery view helpers used here to generate the necessary markup and JavaScript. (more…)

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