From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id C1E92BC69 for ; Fri, 30 Mar 2007 01:37:21 +0200 (CEST) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2TNbLdW029149 for ; Fri, 30 Mar 2007 01:37:21 +0200 Received: by ug-out-1314.google.com with SMTP id k3so722924ugf for ; Thu, 29 Mar 2007 16:37:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=q8HNqKK2YC/VDQMYyrHZCNaLh+a6PmeZchHAHuaqulgO9WGsa1nQqqFGnhAUovDXkSPtgPdkZIngZPZOSGekdsZErWx/uJGaM0YyWHFFSOLquvW2tlrmIDPdGewpagYHr4LMw2Mli34IHb3WadaaSSXhsMeeO7P5ZWO5GK8xxAw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=Pxv2EKT1QjOTuIoXMRZQWzndD0fqqqdBxWvW5y145Kfte61+kiR5x35HWHkfybB5rgFebYys9d5WGazVS9/3qdzaZUVi0qhI1unws0tdjYWLSOX7Jdoih8+VkU+GiYg6mMU5EznZ/5MBpUhDJBuph5z83EfKm4elxvKcFfikNjA= Received: by 10.67.100.17 with SMTP id c17mr206793ugm.1175211441229; Thu, 29 Mar 2007 16:37:21 -0700 (PDT) Received: from ?192.168.1.34? ( [83.52.61.101]) by mx.google.com with ESMTP id s1sm1963031uge.2007.03.29.16.37.18; Thu, 29 Mar 2007 16:37:19 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3AFA5B66-A82B-4AAC-BD43-8F4F999773BA@gmail.com> Cc: Gerd Stolpmann , Gabriel Kerneis Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: A web toolkit for OCaml (logging, RSS, etc) Date: Fri, 30 Mar 2007 00:37:16 +0100 To: Caml List X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 460C4DB1.000 on discorde : j-chkmail score : XX : 0/20 2 0.000 -> 2 X-Miltered: at discorde with ID 460C4DB1.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 parsing:01 baretta:01 xcaml:01 ocamlnet:01 compile:01 caml:02 caml:02 binding:02 exists:03 alex:03 bruno:04 complex:04 implement:06 Folks, 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 Ocsigen. I'm looking for advice here. Thanks in advance, Joel [1] http://tinyurl.com/28xvj8 -- http://wagerlabs.com/