Tag Archives: php

The Enum Conundrum

So a user signs up and I want to store a status that reflects their account, or at least an identifier representing that status. Their account could be active, disabled (temporarily), pending approval or maybe deleted. Should I use an …

Read more »

Zend Paginator Example

One of the reasons why zend framework has been so popular is due to all the hard work put in to make sure components are extremely configurable. Sure there are default behaviours, but nothing is assumed and anything that needs …

Read more »

In ORM’s Defence

For some reason, as of late, I can’t seem to attend any user group or conference without a speaker slating ORM’s. Several speakers at the PHP UK Conference this year expressed their disapproval, as well as the speaker at this …

Read more »

Drive Forms from Doctrine Entities

FormFactory – Driving Doctrine 1.2 / 2.x Mappings into Zend_Form objects On a few of my previous projects I found myself creating more form classes than I’d like. And after the 30th one I figured there had to be a …

Read more »

PHP UK Conference

In late february I attended the annual PHP UK Conference hosted by the chaps that run the PHP London user group and sponsored by Automattic. I had a great time at the two day event and got to catch up with several colleagues from the …

Read more »