Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Dbi: proposal #1
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <debian00@t...>
Subject: Re: [Caml-list] Dbi: proposal #1
On Wed, 11 Jun 2003, "Nicolas Cannasse" <> wrote:
> > Here is the first proposal for a database independent interface (Dbi)
> [...]
> One question : why using classes ?

To be able to write functions that are not dependent on a particular

Imagine for example that the DB is chosen at runtime.  With this
approach, one has only to write conditional code to create the
[connection] and [conversion] objects, the rest of the source applies
to any DB.  (Some more on this is the file RATIONALE that comes with
the tarball.)


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: