From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 782D2BB9A for ; Thu, 20 Oct 2005 15:25:03 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9KDP2Lm024043 for ; Thu, 20 Oct 2005 15:25:03 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA28319 for ; Thu, 20 Oct 2005 15:25:02 +0200 (MET DST) Received: from tintin.inria.fr (tintin.inria.fr [128.93.24.126]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9KDP0Ju024019; Thu, 20 Oct 2005 15:25:00 +0200 Date: Thu, 20 Oct 2005 15:24:59 +0200 From: Maxence Guesdon To: david.baelde@ens-lyon.org Cc: david.baelde@gmail.com, caml-list@inria.fr Subject: Re: [Caml-list] FastCGI Message-ID: <20051020152459.3f4643ee@tintin.inria.fr> In-Reply-To: <53c655920510200323t45f45db6h@mail.gmail.com> References: <53c655920510200323t45f45db6h@mail.gmail.com> Organization: INRIA X-Mailer: Sylpheed-Claws 1.0.5 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 43579AAE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43579AAC.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; maxence:01 guesdon:01 maxence:01 guesdon:01 caml-list:01 ocaml:01 ocamlnet:01 ocaml:01 functors:01 escaping:01 ...:98 cookie:98 ...:98 wrote:01 structures:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Thu, 20 Oct 2005 12:23:41 +0200 David Baelde wrote: > Hi list, Hello, > There seems to be many (Fast)CGI implementations in OCaml around: > XCaml, CamlGI, caml-fastcgi, OCamlNet... But many seem dead, or won't > even build. I'm wondering which one should I choose, and I'd be glad > to find some examples or a good doc to start with. Any experiences ? I > hope the OCaml FastCGI community hasn't give up. You may have a look at Ocgi: http://pauillac.inria.fr/~guesdon/Tools/ocgi/ The library includes functions to retrieve arguments and environment values. Functors can be used to create "models" of cgi handling sessions with cookie or in parameters. A lot of useful functions are included to send mails, escaping strings, building HTML structures (list in tables, ...). At last, a template tool is included to make the use of forms easier (using generated record types). This tool can also be used to create templates for html code or even mail bodies (or any text, in fact). Regards, Maxence Guesdon