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
A web toolkit for OCaml (logging, RSS, etc)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-29 (23:37)
From: Joel Reymont <joelr1@g...>
Subject: A web toolkit for OCaml (logging, RSS, etc)

My forays into binding OCaml to Ruby have failed and I'm thinking  
about going all OCaml.

Assuming that I'm running naked nethttpd as my web server, how should  
I implement logging of HTTP requests to disk (a-la Apache)? Is this  
something that exists somewhere?

Also, what XML package for OCaml is the easiest for publishing RSS  
and parsing XHTML?

I looked at several possible options this week. On the one hand, Alex  
Baretta graciously provided me with source code for AS/XCaml which I  
found overwhelmingly complex and I totally dislike how OCaml code is  
embedded in Ocsigen's templates. On the other hand, I managed to get  
mod_caml up and running and compile ocamlnet.

I'm thinking of pairing Bruno De Fraine's "Toy implementation of  
Zope's TAL" [1] with nethttpd and running my site on that. As an  
alternative, I may be able to plug Bruno's templates into mod_caml or  

I'm looking for advice here.

	Thanks in advance, Joel

[1] http://tinyurl.com/28xvj8