[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-01-30 (10:47) |
From: | Richard Jones <rich@a...> |
Subject: | Re: [Caml-list] PostgreSQL-OCaml 1.0.1 |
If people think that the mod_caml DBI approach is the right one (and it may not be, although it certainly Works For Us), then I could spin this off into a separate package to make it easier to install. This is dbi.mli: http://savannah.nongnu.org/cgi-bin/viewcvs/modcaml/modcaml/dbi.mli?rev=HEAD&content-type=text/vnd.viewcvs-markup This is dbi_postgres.mli, which is the driver we use all the time in production at Merjis, hence the most stable / developed: http://savannah.nongnu.org/cgi-bin/viewcvs/modcaml/modcaml/dbi_postgres.mli?rev=HEAD&content-type=text/vnd.viewcvs-markup This is the driver for Perl DBDs: http://savannah.nongnu.org/cgi-bin/viewcvs/modcaml/modcaml/dbi_perl.mli?rev=HEAD&content-type=text/vnd.viewcvs-markup The interface is designed to make it quick to access databases, in the sense that you write the minimum code necessary. It's not type safe, in the sense that if you write garbage SQL, it won't be detected until runtime. Alex Baretta is, I believe, pursuing an alternative approach using Camlp4 which is supposed to be type safe. Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment http://www.YouUnlimited.co.uk/ - management courses ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners