Blog

Tag Archives: Software Design

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

Working with PHP’s ArrayObject: Favour Composition over Inheritance

I was just reading through the current issue of php|architect (April 2008) and I noticed a particular piece of code that irked me to the point that I need to write about it. If you’re interested, the article is Exceptional … Continue reading

Oh CRUD… (Part 3)

Well, somewhat unfortunately, there won’t be a part 3 to this blog post. I ended up pitching the idea to php|architect magazine (http://www.phparch.com) and they will be publishing it in their july 2008 issue. I’ll post any links and relevant … Continue reading

Oh CRUD… (Part 2)

My last post was basically just an outline of the CRUD processes and a brief touch on the design patterns that will allow us to make dealing with CRUD a thing of the past. If you weren’t already, hopefully by … Continue reading

Oh CRUD…

If you’ve been doing web programming for even a small amount of time, you’ll already have noticed the massive amount of repetition when creating, retrieving, updating, and deleting (CRUD) rows from a database. They don’t call it crud for nothin’… … Continue reading