Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
Steveo31
Forum Contributor
Posts: 416 Joined: Sun Nov 23, 2003 9:05 pm
Location: San Jose CA
Post
by Steveo31 » Thu Apr 15, 2004 1:44 pm
From what PEAR looks like, it would be extremely handy as it spans all SQL databases, right? Should one learn it?
lostboy
Forum Contributor
Posts: 329 Joined: Mon Dec 30, 2002 8:12 pm
Location: toronto,canada
Post
by lostboy » Thu Apr 15, 2004 3:52 pm
Slippy
Forum Contributor
Posts: 113 Joined: Sat Jul 12, 2003 11:31 pm
Location: Vancouver eh!
Post
by Slippy » Thu Apr 15, 2004 4:32 pm
ADODB eh? I was wondering the same thing... I'll have to check it out now...
Steveo31
Forum Contributor
Posts: 416 Joined: Sun Nov 23, 2003 9:05 pm
Location: San Jose CA
Post
by Steveo31 » Thu Apr 15, 2004 4:38 pm
Adodb, huh. What is it? From the site it's like ASP -> PHP and back...?
Slippy
Forum Contributor
Posts: 113 Joined: Sat Jul 12, 2003 11:31 pm
Location: Vancouver eh!
Post
by Slippy » Thu Apr 15, 2004 4:48 pm
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
Steveo31
Forum Contributor
Posts: 416 Joined: Sun Nov 23, 2003 9:05 pm
Location: San Jose CA
Post
by Steveo31 » Thu Apr 15, 2004 5:40 pm
Ah ok. So it's like PEAR, but in that more DBs are supported
?
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Thu Apr 15, 2004 5:45 pm
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.
Pyrite
Forum Regular
Posts: 769 Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:
Post
by Pyrite » Thu Apr 15, 2004 9:12 pm
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..
Steveo31
Forum Contributor
Posts: 416 Joined: Sun Nov 23, 2003 9:05 pm
Location: San Jose CA
Post
by Steveo31 » Thu Apr 15, 2004 9:54 pm
You misspelled F@$%.