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

Re: [Ocaml-lib-devel] Dbi in ExtLib



On Wed, Aug 04, 2004 at 05:07:33PM +0200, Nicolas Cannasse wrote:
> The idea was that the DBI module was standard common interface for accessing
> databases, and that OCamlDBI would provide accesses to some supported
> databases, while other people might provide other implementations for other
> databases using the DBI module in ExtLib. Having then the DBI module
> separate from OCamlDBI makes sense. However currently all supported
> databases are in OCamlDBI.... in the end I think it's up to Richard to
> decide what he wants for DBI / OcamlDBI.

This suggests removing Dbi from ocamldbi.  However at the moment
things are too prone to change to do that.  Perhaps after 1.0.0 is
released?

Another data point in this discussion is that ocamldbi is pure OCaml,
believe it or not.  It relies on external C bindings provided by other
libraries.  So for example, the path to PostgreSQL is:

Dbi_postgres -> Alaine Frische's Postgres -> libpq

(This also explains why there are two PostgreSQL bindings, one of
which is apparently not working, because Alaine's Postgres module was
recently forked).

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
MOD_CAML lets you run type-safe Objective CAML programs inside the Apache
webserver. http://www.merjis.com/developers/mod_caml/



Reply to: