Blog

Author Archives: Chris Woodford

If Programming Languages were essays…

I love programming humour!

Reusable Sorting for Collection Objects in PHP

These days I find myself working less and less with native PHP arrays, and more and more with Collection Objects – that, as the name suggests – are objects that represent and manage a collection of other objects. Some of … Continue reading

Persisting the Decorator Pattern with Doctrine 2.0

Like a lot of people in the PHP community, I’ve had my eye on Doctrine 2.0 (a great Object Relational Mapping tool for PHP) since I first saw the teaser over 2 years ago. We even started using it in … Continue reading

Module Bootstrapping in Zend Framework

It seems that ever since the 1.8 release of Zend Framework (where they introduced the new application bootstrapping), there has been a lot of discussion about the way that module bootstrapping is handled. I think most programmers, myself included, tend … Continue reading

Hostname matching with Zend_Controller_Router_Route_Hostname

The Zend Framework offers and handy little tool for hostname matching. This means that you can introduce variables into your application’s URIs. For example, you may want to let users go to a URI like http://chris.yoursite.com or http://neil.yoursite.com and then … Continue reading

Cross Domain Scripting with jQuery and flXHR

We were recently asked to develop some javascript widgets that would read from a central REST based API. And of course, these widgets needed to be able to be put on any website. That’s all well and good until Cross … Continue reading

jQuery jScrollPane Plugin: Scrolling Divs not displaying properly

We’re just wrapping up a site for a client and they decided that they would prefer to have custom scroll bars, rather than the OS scroll bars that browsers will render by default. James did a little research and point … Continue reading

Book Review — Zend Framework 1.8: Web Application Development by Keith Pope

I was recently approached by a representative from Packt Publishing to review their newst book on the Zend Framework, Zend Framework 1.8: Web Application Development by Keith Pope. The book is intended to be an introduction to the Zend Framework … Continue reading

Using Zend_Soap_Client with the Campaign Monitor API

I recently needed to write a PHP client to integrate with the SOAP side of the Campaign Monitor API. The code was pretty simple and straight-forward, but I was getting a weird error: 101 Invalid ListID. I checked and re-checked … Continue reading

Book: Zend Framework 1.8 Web Application Development

Packt publishing has just released a new book on the 1.8 release of the Zend Framework. ZF 1.8 was definitely a milestone release and I’m really looking forward to getting my hands on this book. Much easier than sifting through … Continue reading