Hello, David MENTRE <[EMAIL PROTECTED]> writes:
> I have already made a web interface to demexp[1] using the WDialog > framework[2], which is using the OCaml language. WDialog allows to write > web interface, and other OCaml modules allow to interface with SQL > databases. If I follow the same approach, I would have roughly the > following architecture: > > Web browser <--HTTP--> WDialog interface <--demexp RPC--> demexp server > ^ ^ > | | > v v > SQL database XML file No much answer since my last post. :( Anyway, I dug a little more on the database side of this architecture and even asked on the caml-list[1]. It appears that there are several opportunities to store persistent information from OCaml: - Dbi module to interface with real databases (MySQL, ...) or SQLite database-in-a-file; - Berkeley DB; - standard OCaml's Dbm module. The RAS which hosts demexp server provides MySQL database, linux-france.org also as a MySQL server. So, depending on our need to make structured queries, we might use either Dbi/SQL or either Berkeley DB. I'll tend to avoid Dbm as it appears to be quite sensible to failures (somebody told me that privately). I don't know yet our need regarding structured queries: it might be useful to have a typed database and make queries on tables' content. Best wishes, d. Footnotes: [1] http://thread.gmane.org/gmane.comp.lang.caml.general/31836 -- pub 1024D/A3AD7A2A 2004-10-03 David MENTRE <[EMAIL PROTECTED]> 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A _______________________________________________ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev