On Mon, Jan 17, 2000 at 11:38:29AM +1100, Hossein S. Zadeh wrote:
: On Sun, 16 Jan 2000, Jason Costomiris wrote:
:
: > I just wish the PHP functions for pgsql were as easy to work with as
: > the mysql ones.
:
: I always thought there was a 1-to-1 relationship between PHP
: database functions?? Am I wrong?
Wrong indeed.. :( Look at the PHP manual.
There are abstraction layers out there like the one that phplib provides,
but I don't care for the overhead phplib imposes (it sources the file
every time there is a request).
PHP4 brings us PEAR, kind of a CPAN, but for PHP code. If you look at
CVS PHP4, you'll see the pear directory, that contains the start of a
common db access module. I'd rather see this integrated into the
language, rather than take that approach.
I've got an abstraction layer that I wrote (it's a class). I've got
modules for MySQL, M$$QL, and am working on pgsql. It's not ready
for prime time yet though.
--
Jason Costomiris <><
Technologist, cryptogeek, human.
jcostom {at} jasons {dot} org | http://www.jasons.org/
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.