caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Maxence Guesdon <max@sbuilders.com>
To: caml-announce@inria.fr
Subject: [Caml-announce] DBForge
Date: Fri, 13 Apr 2001 10:12:18 +0200	[thread overview]
Message-ID: <3AD6B4E2.455EF05A@sbuilders.com> (raw)

[La version française suit]

Hello,

I'm pleased to announce the first release of DBForge, a tool to
describe databases (by now : tables and columns) and which generates
the OCaml code of functions accessing these tables and columns ;
this tool can be used (for example with OCamlODBC) to create
database accessing applications without typing a single SQL query
(well, if you don't want to execute multi-table queries). It can
also generate some doc in HTML.
An interesting point in the generated code is that the parameters
and return values of the select, insert, ..., functions have
real types, even through an ODBC interface like OCamlODBC, which
uses only strings. The type of a column is given by its definition
(but the user can force his own type with his own functions for
 string <-> his_type conversions).
A small example is provided. More information on
http://maxence.guesdon.free.fr/tools_en.html

Enjoy !

Maxence Guesdon

----------------------------------
Bonjour,

J'ai le plaisir d'annoncer la première version de DBForge,
un outil permettant de décrire une base de donnéees (pour 
l'instant les tables et les colonnes) afin de générer le
code OCaml des fonctions d'accès à ces tables et colonnes.
Cet outil peut être utilisé conjointement avec OCamlODBC
pour développer des applications s'appuyant sur des bases
de données sans taper une seule requête SQL (sauf si vous
voulez faire des requêtes multi-tables). DBForge peut également
générer la documentation au format HTML.
Le point le plus intéressant est le fait que les paramètres
et valeurs de retour des fonctions select, insert, ..., ont de
vrais types, même en utilisant une interface ODBC comme OCamlODBC
(qui utilise seulement des string). Le type d'une colonne est 
déduit de sa définition (mais l'utilisateur peut forcer
l'utilisation de son type à lui, en fournissant ses propres
fonctions de conversion entre son type et string).
Un petit exemple est fourni. Plus d'information à
http://maxence.guesdon.free.fr/tools.html

Essayez-le !

Maxence Guesdon


                 reply	other threads:[~2001-04-17 17:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AD6B4E2.455EF05A@sbuilders.com \
    --to=max@sbuilders.com \
    --cc=caml-announce@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).