Monthly Archives: December 2010

Google Static Maps Zend View Helper

From time to time I’ve needed to add static Google maps to my website. The reason to use static maps may vary from accessibility concerns to usage on mobile devices that don’t support JavaScript. Since I’m a lazy programmer I like to create re-usable objects so that I don’t have to rewrite the code over [...]

Custom Zend DB Table Row Class with Validation and Filtering

This is a follow up post to my previous post about creating a custom Zend Db Table base class. As mentioned in the previous post the Zend Framework implementation of their database abstraction layer is an implementation of the Table Data Gateway pattern and the Row Data Gateway pattern. This implementation is well tested and provides a [...]

Custom Zend DB Table Base Class with Static Finder Methods

I’m putting it out there that I’m a fan of the Active Record Software Design Pattern.  Zend Framework uses a different design pattern for it’s database modelling called the Table Data Gateway Pattern.  In reality both are very good at doing what they’re meant to do, ie, model the tables in a database and return [...]

Setup a local Apache server with virtual hosts for PHP development on Windows

This micro-tutorial covers downloading and installing Apache HTTP server and PHP and running it locally with virtual hosts on Windows.  It’s quite straight forward for the experienced user but putting the pieces together for the beginner can sometimes be difficult.  This is a high level tutorial aimed at those newbies so that they can get [...]

Media Browser Genre Symlink Generator

I’ve been an adamant user of Media Browser for Windows Media Center 7 for a while now.  It’s a great (free!) plugin that allows you to organize and view your collection of movies and TV shows in a very cool interface.  It has a cover flow (iTunes esk) style of interface that I especially like that has [...]