DAL [solved]

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
dayyanb
Forum Commoner
Posts: 46
Joined: Wed Jan 23, 2008 12:34 am

DAL [solved]

Post 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?
Last edited by dayyanb on Sat Feb 09, 2008 1:03 pm, edited 1 time in total.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: DAL

Post 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").
(#10850)
dayyanb
Forum Commoner
Posts: 46
Joined: Wed Jan 23, 2008 12:34 am

Re: DAL

Post 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!
Post Reply