Connecting Tech Pros Worldwide Forums | Help | Site Map

A good database class

Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,938
#1: Jul 1 '08
Does anybody know of a good database class? A well documented one?

Cheers.
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#2: Jul 1 '08

re: A good database class


Heya, Markus.

MDB2 is the preferred package among PEAR aficionados (http://pear.php.net/package/MDB2).

I generally prefer to roll my own. I recently wrote one for MySQLi, though I hardly consider it anywhere near complete. I'll post it in a second; it's... well, you'll see. My code is always well-documented (:

[EDIT: Posted. It probably won't work outside of the framework that it is a part of, but it should give you a pretty good idea of what's going on inside my head. Post back if you have any questions.]
Attached Files
File Type: zip Core_DB.zip (9.2 KB, 27 views)
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,938
#3: Jul 2 '08

re: A good database class


Quote:

Originally Posted by pbmods

Heya, Markus.

MDB2 is the preferred package among PEAR aficionados (http://pear.php.net/package/MDB2).

I generally prefer to roll my own. I recently wrote one for MySQLi, though I hardly consider it anywhere near complete. I'll post it in a second; it's... well, you'll see. My code is always well-documented (:

[EDIT: Posted. It probably won't work outside of the framework that it is a part of, but it should give you a pretty good idea of what's going on inside my head. Post back if you have any questions.]

I think I'll have a look at the PEAR suggestion. I had a look at your files, and, well, Josh, they're made by you: There's not a chance in hell I'll understand what's going on in your head, nor your writing.

Thanks.
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#4: Jul 3 '08

re: A good database class


Another satisfied customer.

Good luck with your project, and if you ever need anything... like you need me to tell you (:

[EDIT: Not that this thread is closed or anything; if anybody out there has a suggestion for a different DBAL, post away!]
Reply