English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Long-term storage of values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David MENTRE <dmentre@l...>
Subject: Re: [Caml-list] Long-term storage of values
Hello Dario,

2008/2/28 Dario Teixeira <darioteixeira@yahoo.com>:
>  I am therefore looking for an alternative to marshalling that a) does
>  not suffer from the brittleness problem, and b) is fast.  At the
>  moment, the best thing that occurs to me is to convert the data into
>  XML and to store it as such in the DB (the data is easily converted
>  into XML).

I asked a similar question once. One of the answer was to use Sexplib,
to store your values as Lisp S-exp:

You could also use Config_file: http://home.gna.org/cameleon/configfile.en.html