[PHP-DB] Looking for a good MySQL db abstraction layer

2002-03-08 Thread Michael Zornek

I'm looking for a good MySQL db abstraction layer. I'm just coming back to
PHP/MySQL and rather writing my own I figured I'd try to see if any are
already out there. 

The layer should obviously have the basics, of connect, query, and close,
and possibly some error checking and handling.

thanks,
~ Mike
-- 
Mike Zornek | Project Leader
Apple Student Developers
The Insanely Great Site with the Insanely Long URL
http://www.applestudentdevelopers.org

Personal Site: 
http://www.mikezornek.com


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Looking for a good MySQL db abstraction layer

2002-03-08 Thread Andrey Hristov

Try those provided in PEAR(in the distro).

Best regards,
Andrey Hristov

On Friday 08 March 2002 08:04 pm, you wrote:
 I'm looking for a good MySQL db abstraction layer. I'm just coming back to
 PHP/MySQL and rather writing my own I figured I'd try to see if any are
 already out there.

 The layer should obviously have the basics, of connect, query, and close,
 and possibly some error checking and handling.

 thanks,
 ~ Mike

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Looking for a good MySQL db abstraction layer

2002-03-08 Thread Paul Burney

on 3/8/02 1:04 PM, Michael Zornek at [EMAIL PROTECTED] appended the
following bits to my mbox:

 I'm looking for a good MySQL db abstraction layer. I'm just coming back to
 PHP/MySQL and rather writing my own I figured I'd try to see if any are
 already out there.
 
 The layer should obviously have the basics, of connect, query, and close,
 and possibly some error checking and handling.

You should probably look into PEAR.  http://pear.php.net/  You probably
have the basic PEAR stuff if you did a source install of PHP.

They have a DB Abstraction class that is similar to Perl DBI and it appears
to be the way of the future.

http://pear.php.net/manual/en/core.db.php

FWIW, the author of the PHP Developers' Cookbook (Sams) did all of the
database examples using PEAR syntax.

Of course, I've not made the switch over yet so take my advice with a grain
of salt.

Hope it helps.

Sincerely,

Paul Burney
http://paulburney.com/

?php

If ($your_php_version  4.1.2) {

upgrade_now();  // to avoid major security problems

/* Please see http://security.e-matters.de/advisories/012002.html */

?


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Looking for a good MySQL db abstraction layer

2002-03-08 Thread Indioblanco

PEAR, Metabase, and ADODB are all good db abstraction packages with
their respective merits. But if your looking for something simple,
efficient, for mysql only try:
http://www.phpclasses.org/browse.html/package/107.html
The package contains basic connection, sql command, and recordset
classes. I like it because it's easy to understand and play around with.
Also has sql logging which can be switched on for debugging.

Michael Zornek wrote:

 I'm looking for a good MySQL db abstraction layer. I'm just coming back to
 PHP/MySQL and rather writing my own I figured I'd try to see if any are
 already out there.
 
 The layer should obviously have the basics, of connect, query, and close,
 and possibly some error checking and handling.
 
 thanks,
 ~ Mike
 

-- 
Out beyond the ideas of wrong-doing and right-doing
there is a field. I'll meet you there.
-Rumi
*(O)*
[EMAIL PROTECTED]
*** under construction ***
http://centralcoasthealing.net   Healing Resources on the Central Coast
http://kornsnake.com   Internet Development









-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php