Solved

Database Abstraction Layer in PHP

Posted on 2008-11-03
5
446 Views
Last Modified: 2008-11-24
Hi Friends,

I am working on a very big project using PHP.  The database can change from client to client like MySQL, Oracle etc. It will be very helpful if you could give some good info on Database Abstraction Layers for PHP. There are many available on net, the two I shortlisted is Pear MDB2 and AdoDB. I think AdoDB is better. Any ideas/suggestions is highly appreciated.

Regards,
Kiranvj
0
Comment
Question by:kiranvj
  • 2
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
alain34 earned 175 total points
Comment Utility
Hello kiranvj,

Have you had a look here to help you decide
http://www.greaterscope.net/documentation/php_database_abstraction_class_comparison.html

Regards,

alain34
0
 
LVL 16

Expert Comment

by:alain34
Comment Utility
Forgot to say. I personally use AdoDB.
0
 
LVL 11

Assisted Solution

by:NoiS
NoiS earned 175 total points
Comment Utility
I recomend One of these (I tested a lot of Classes...)

PDO
ADODB
Pear MDB2

In this order.

If you will work only with MySQL or Postgre, PDO is the best choice (my decision).

If you will work with Oracle too, Maybe PDO isn´t the good choice cause PDO don't work will REF Cursos (usually returned by Stored Procedures) but works great for all other functionality.
0
 
LVL 16

Author Comment

by:kiranvj
Comment Utility
Thank you for the suggestions
0
 
LVL 16

Author Comment

by:kiranvj
Comment Utility
I think I will go with ADODB
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now