What's New
- Monday, March 15, 2004. On this day: BBC, Wikipedia, HowTo
- Some site progress
Making a bit of progress on the site. I've been picking away at stuff while I'm at work which has been good. I managed to find some php code that does exactly what I want with seperating out most of the database functions. It should really help cut down on the code and also means that if anything changes with my MySQL setup then I only have to change it in 1 spot. The one thing I don't like is that it still makes use of some MySQL specific functions in the individual functions themselves (mysql_fetch_array()). All of the other connection stuff is handled by a seperate class now which is nice. I need to see if I can move this into that class (or another seperate function) because then I could make all the code db independant except for the one DB function. That way if I switch to a different database (like Oracle or Sybase) then I could update just 1 function to make it work. Abstraction layers are definitely cool. Need to see if I can set this up somehow. What I'm really looking for is something like Perl's DBI interface.
# Posted 1:08 PM
- Archives
-
03/01/2000 - 03/31/2000
05/01/2000 - 05/31/2000
06/01/2000 - 06/30/2000
09/01/2000 - 09/30/2000
10/01/2000 - 10/31/2000
11/01/2000 - 11/30/2000
02/01/2001 - 02/28/2001
04/01/2003 - 04/30/2003
03/01/2004 - 03/31/2004
04/01/2004 - 04/30/2004
05/01/2004 - 05/31/2004
06/01/2004 - 06/30/2004
08/01/2004 - 08/31/2004
09/01/2004 - 09/30/2004
10/01/2004 - 10/31/2004
11/01/2004 - 11/30/2004
12/01/2004 - 12/31/2004
01/01/2005 - 01/31/2005
02/01/2005 - 02/28/2005
03/01/2005 - 03/31/2005
04/01/2005 - 04/30/2005
05/01/2005 - 05/31/2005
06/01/2005 - 06/30/2005
07/01/2005 - 07/31/2005
08/01/2005 - 08/31/2005
11/01/2005 - 11/30/2005
