PostgreSQL: The Other Open-Source Database

Posted: May 22, 2010

MySQL isn’t dead, despite some concerns people have had lately. But if you’re at all concerned about its future, you may find yourself suddenly poking your head up and looking around at alternatives, like me. Read the rest of this entry »

Creating a PHP Collection Class

Posted: May 15, 2010

PHP has really been growing up lately. There are some really nice new things in the SPL (Standard PHP Library), including some nice new collection structures familiar to programmers from other languages. We’ve got heaps, stacks, and queues. There are also some interfaces you can implement to create your own collections with standard array-like behavior.

Let’s take a look at building out our own basic collection class. We can extend and subclass this thing later to make it even more useful. Read the rest of this entry »