From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA15840; Wed, 11 Jul 2001 17:52:06 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA15815 for caml-list@pauillac.inria.fr; Wed, 11 Jul 2001 17:52:06 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA15253 for ; Wed, 11 Jul 2001 17:34:06 +0200 (MET DST) Received: from femail5.sdc1.sfba.home.com (femail5.sdc1.sfba.home.com [24.0.95.85]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6BFY5927555 for ; Wed, 11 Jul 2001 17:34:05 +0200 (MET DST) Received: from CY36147A ([24.5.132.36]) by femail5.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010711153354.JZWM18992.femail5.sdc1.sfba.home.com@CY36147A> for ; Wed, 11 Jul 2001 08:33:54 -0700 From: "Francois Rouaix" To: "Caml-List@Inria.Fr" Subject: RE: [Caml-list] Web Development with OCaml Date: Wed, 11 Jul 2001 08:35:10 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3B4BE8CE.B246A7E8@texoma.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk To add a few cents to the discussion > 5. An OCaml Web Server. I don't know what's available here yet. > I haven't had the time to research yet. > This could be a very interesting option, especially if it's fast. > This could easily be an excellent option to put behind Tux. > Tux serves number 1. above and passes all dynamic services to this > server. Back in 1996, I had something called V6 running in OCaml; it was an HTTP proxy with a bunch of interesting features, and could serve as a Web server. However, this was a long time ago, and iI implemented only HTTP 1.0, not 1.1. Also, we didn't have threads in native mode in those days. The speed was still reasonable. I remember that I could easily use 60% of our 10 Mb/s network (network still being used by other stuff in the lab). > Is there any interest in a mod_ocaml or a fast-cgi module for OCaml? > I haven't a clue on how to develop either but could possibly learn. :) > After learning OCaml (at least some) first. Actually, I did start an mod_ocaml project a couple of years ago. I had the core working, meaning that I produce a very simple page with the module. However, I stopped before moving forward because of the intricacy of correctly designing the whole thing (configuration, separation of name spaces between user-modules, compilation and loading on demand, etc...). Also, I had doubts about the usefulness of a mod_ocaml. In practice (meaning in the real .com world, where I was working at the time), one uses multiple tier architectures. And you want something in the frontend that is simple enough that non-real programmers can still tweak; something that only does layout, and no logic. If someone is interested, I might be able to retrieve the source. There is a good OReilly book on Apache modules (although Apache 2.0 may make this obsolete altogether). --f ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr