The closet thing PHP has is PEAR - it has the Dataobject concept and is as
close to "neutral" as PHP gets. A long time ago, I wrote a "DB Neutral set of
routines which works with Oracle, Postgresql and, untested, MySQL. That just
seemed to be the easiest thing to do, but I have not tried to plug it into
Dreamweaver.
Ken
Quoting Bruce Momjian <pgman@candle.pha.pa.us>:
> Nikola Milutinovic wrote:
> > > This may have been better posted in the advocacy list but I am not a
> > > subscriber.
> > >
> > > We recently purchased Dreamweaver MX and I was a little surprised to
> > > find that one of its pre-defined scripting systems is PHP + MySQL. I
> > > haven't done much exploring of what is actually offered but wondered
> > > whether any one had tried to convince Macromedia to provide a PHP +
> > > PostgreSQL or at least a PHP + anydb.
> >
> > PHP has a shortcoming of NOT having a unified interface to "any" DB. MySQL
> > uses one set of function calls, while PgSQL another. Yes, of course they
> > could add support for another (very popular) DB. But I'd rather feel out
> > their support for JSP/JDBC, which should be in :-)
>
> Sounds like PHP needs something similar to DBD for Perl.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/