Page 1 of 1
PEAR::DB - worth learning?
Posted: Thu Apr 15, 2004 1:44 pm
by Steveo31
From what PEAR looks like, it would be extremely handy as it spans all SQL databases, right? Should one learn it?
Posted: Thu Apr 15, 2004 3:52 pm
by lostboy
Posted: Thu Apr 15, 2004 4:32 pm
by Slippy
ADODB eh? I was wondering the same thing... I'll have to check it out now...

Posted: Thu Apr 15, 2004 4:38 pm
by Steveo31
Adodb, huh. What is it? From the site it's like ASP -> PHP and back...?
Posted: Thu Apr 15, 2004 4:48 pm
by Slippy
Adodb, huh. What is it? From the site it's like ASP -> PHP and back...?
It looks like a fairly easy to use class that can be used to bridge the differences between database platforms.
The tutorial cleared it up for me
http://php.weblogs.com/adodb_tutorial
Posted: Thu Apr 15, 2004 5:40 pm
by Steveo31
Ah ok. So it's like PEAR, but in that more DBs are supported
?
Posted: Thu Apr 15, 2004 5:45 pm
by markl999
PEAR is lots of packages (PHP Extension and Application Repository) one of which is a database package (DB). Adodb is just a database 'package'.
So adodb is along the lines of PEAR's DB package.
Posted: Thu Apr 15, 2004 9:12 pm
by Pyrite
ADOdb F#@^@ ROCKS! Been using it for about 2 years, it is a lot more than just database abstraction and objects. The db ojects you create have tons of handy functions. Plus it encapsulates your php db code, so if you ever want to switch databases, it is only a matter of changing a variable in the config file. Good stuff..
Posted: Thu Apr 15, 2004 9:54 pm
by Steveo31
You misspelled F@$%.
