Blog

Tag Archives: PHP

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

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

Zend Framework: Amazon S3 Component

With the 1.8 release, the Zend Framework has pushed out a number of really awesome components. One that I got to work with recently, was Zend_Service_Amazon_S3. At the time that I started using the S3 component, it was still in … Continue reading

Using PHP’s Imagick class to convert a CMYK jpeg to RGB

We’ve recently converted all of our image processing from using GD to using ImageMagick and one of the biggest stumbling blocks in doing that has been the lack of documentation for PHP’s Imagick class. I ran into a problem when … Continue reading

Zend Framework 1.6RC

If you don’t frequent the zend framework website you might not have realized that they already have a release candidate for version 1.6 of the zend framework. What’s interesting about version 1.6 (other than the additions to my new friend … Continue reading

Free App: PHP Simple Gallery

Here at the office, when we’ve run into a bottleneck design wise, we’ve used a collection of images to inspire us, mostly in the form of large, slow to open, and hard to share layered PSD resource files. To fix … Continue reading