RE: [PHP] NEED BOOK: DB Abstaction
| From: | Jon Haworth | Date: | Thu, 24 May 2001 16:36:31 +0000 |
| Subject: | RE: [PHP] NEED BOOK: DB Abstaction | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54244@lists.php.net to get a copy of this message | ||
PHP 4 Bible (Converse/Park, IDG Books) has a chapter on OO programming that
contains sample code for an entire DB layer...
Failing that you can knock your own up really easily, using include() to
stick it in whatever script you fancy.
HTH
Jon
-----Original Message-----
From: Erich Reimberg N. [mailto:ereimber@multinet.cl]
Sent: 24 May 2001 16:48
To: php-general@lists.php.net
Subject: [PHP] NEED BOOK: DB Abstaction
Hello,
Can anyone here, please, recommend me a good book that covers the
DB abstracion that has PHP4? Most of the books only deal with MySQL,
and that's not always my choice for a DB administrator. So I need
to program scripts that can connect to any DB.
I use this in ASP: I write a tiny script that only connects to
a DB, and then I include it in any script that needs DB connectivity.
Then, If I change the DB, I only change the tiny script, and the
rest works just like before.
(By the way, is it possible to do this in PHP at all? I believe it
is)
Please, if you have any books you can recommend Cc to my email
address: ereimber@multinet.cl
Thanks,
Erich Reimberg N
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or
confidentiality'
**********************************************************************