[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Database Connectivity



At 15.03 -0400 1999.05.04, David Steffen wrote:
# Paul Miller said:
#
# >The main advantage of ODBC is the ability to connect to different kinds
# of
# >databases. This is also an advantage of DBI, so ODBC is redundant
# >(assuming you can find, buy, or build a DBD for the database you want).
#
# Have you had good luck finding, buying or building DBD's for the Mac?  I
# have not seen much premade, but maybe I haven't looked hard enough.  I
# have wanted to try my hand at building a couple of DBDs on the Mac as
# soon as I get a few spare moments.  Even doing that, however, I have
# given up hope for most DBMS packages, because AFAIK part of the DBD for
# most of them is a proprietary library supplied as a binary.

Basically, there are three ways to do DBDs with MacPerl.

1.  Get the libraries needed and build the DBD
2.  Use a DBD that requires no external libraries (maybe even no XS code
... some are pure perl)
3.  Use DBD::Proxy and DBI::ProxyServer to set up a DBI proxy server on a
Unix box containing the DBDs you need, and talk to that server with
DBD::Proxy.  I have not tested this, but it should work (with maybe slight
tweaks, that should then be sent back to the module author).

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org