Class::DBI-like library for php?

Question :

Class::DBI-like library for php?,

Answer :

I have inherited an old crusty PHP application, and I’d like to refactor it into something a little nicer to deal with, but in a gradual manner. In perl’s CPAN, there is a series of classes around Class::DBI that allow you to use database rows as the basis for objects in your code, with the library generating accessor methods etc as appropriate, but also allowing you to add additional methods.

Does anyone know of something like this for PHP? Especially something that doesn’t require wholesale adoption of a “framework”… bonus points if it works in PHP4 too, but to be honest, I’d love to have another reason to ditch that. 🙂

Read More  IL level code debugger


It’s now defunct but  is possibly worth a look. If you’re willing to let go of some of your caveats (the framework one), I’ve found that is a pretty neat way of accessing DBs in PHP. Worth investigating anyway.

That’s the answer Class::DBI-like library for php?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you

Read More  Anyone know of an on-line free database?