In order to take full advantage of the features that PHP 5 offers, I have taken to refactoring the database class. Took me about 6 hours to get it all switched over and boy is it simpler and nicer to look at. Admittedly, my previous code was sub par, but looking at this new code is like laying my eyes on the nude female form for the first time since the last time – It’s simply magical.
- Proper use of __toString();
- Query Statistics for debugging and performance checking
- OO route to database interaction
For more information and usage of the classes, consult the wiki.