i have been using the pear db for a long time , although , portability
=slower abstraction , aparantly the DB is not continuing, and MDB is its
predecessor, anyway i've had a bit of trouble getting the MDB to work , in
fact i got DB to work pretty much straight away thanks to thoms howto page,
MDB is a bit of a rewrite obviously to make it faster than DB therefore if u
are intergrating abstraction code from DB to MDB is a bit of a pain i'm
still trying to get the right answer out of luke on how to get rows out in a
while loop, not as easy as i thought. i have written my own abstraction
class , not as hard as u think , but work needed fast access , and we only
use mysql so i made it as light as possible with error handling included
check it out :D
http://electroteque.dyndns.org:1023/benchmark/DB.phps
-Original Message-
From: Charles Kline [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 7:04 AM
To: Merritt, Dave
Cc: PHP General (E-mail)
Subject: Re: [PHP] To use PEAR::DB or the PHP database functions
Pear is really nice. I am very happy with it.
- Charles
On Thursday, March 20, 2003, at 02:56 PM, Merritt, Dave wrote:
All,
I've always used MySQL databases and the MySQL functions in PHP for my
code
in the past. However, I'm now working on a project that I want the
project
to be able to be database independent so that the user of the project
can
use whatever database he/she wishes. I'm looking primarily at
providing
support for MySQL, PostgreSQL, Oracle, SQL Server databases. What's
the
general consensus on how to handle this? Do I need to look at using
PEAR::DB so that the type of database is hidden from my code or
would I
look at writing different include files for each database type and
each of
the include files use the relevant PHP functions? Or some other
totally
different way?
Thanks
Dave Merritt
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php