Page 1 of 1

DAL [solved]

Posted: Sat Feb 09, 2008 12:45 pm
by dayyanb
I am working on a project and need a DAL. Should I use one some else has created or make my own? If I use a premade one, which ones are good?

Re: DAL

Posted: Sat Feb 09, 2008 12:51 pm
by Christopher
PHP itself has PDO. I know ADODb and ADODb_lite are popular around here. Frameworks like Zend have their own. PEAR has several, I think MDB2 is the latest. All are free, so the only way you will know it to try them out.

There are a number of threads in these forums about writing your own (search for something like "database connection class").

Re: DAL

Posted: Sat Feb 09, 2008 1:02 pm
by dayyanb
ADODb looks nice. I would like to stay away from the php PDO as I want my code to be portable between hosts.

Thanks for the help!