My New Database Class

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.

New Features:

  1. Proper use of __toString();
  2. Query Statistics for debugging and performance checking
  3. OO route to database interaction

For more information and usage of the classes, consult the wiki.

Leave a Reply