RE: [PHP-DB] Database Abstraction Layer?

From: Date: Wed, 21 Jan 2004 15:51:00 +0000
Subject: RE: [PHP-DB] Database Abstraction Layer?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-32539@lists.php.net to get a copy of this message
Oh ya, one more thing, I am going to integrate SQL Relay with the PHP abstraction layer: http://sourceforge.net/projects/sqlalphp to give the functions a more PHP feel to them. Plus, I will be able to retain DB specific calls if I want with this layer. I have used this layer with a great deal of success in the past. But it was never the DB calls that got me, it was the actually SQL. So I am building a swappable SQL library. The Propel solution would effectively negate me having to do that. - Paul -----Original Message----- From: Muhammed Mamedov [mailto:mmamedov@st.fatih.edu.tr] Sent: Wednesday, January 21, 2004 3:41 AM To: phpdb Subject: Re: [PHP-DB] Database Abstraction Layer? Thanks Ricardo for your comments. What do you think guys: ADODB or PEAR::DB ? ----- Original Message ----- From: "Ricardo Lopes" <lopes@elevaconsult.pt> To: "Muhammed Mamedov" <mm@ytm.com.tr> Sent: Wednesday, January 21, 2004 11:21 AM Subject: Re: [PHP-DB] Database Abstraction Layer? > You have ADODB and PEAR DB that both work as abstraction layer. I have used > ADODB and seems to me that is very good, yet i have not tested PEAR DB... > > To make php code 100% database independent is not very easy, depends of what > are you going to do with your code. Use the ADODB or PEAR functions every > time possible, and avoid the using of sql statements in your code because > you have to carefull design then to be database independent but that can be > a very difficult task. > > ----- Original Message ----- > From: "Muhammed Mamedov" <mmamedov@st.fatih.edu.tr> > To: "phpdb" <php-db@lists.php.net> > Sent: Wednesday, January 21, 2004 8:31 AM > Subject: [PHP-DB] Database Abstraction Layer? > > > Hello everybody, > What do you think is the best method to abstract php code from a specific > database?. > Make PHP code 100% database independent?.. > > Waitin' for your comments. > Muhammed Mamedov > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#32539) next »