From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104])
by yquem.inria.fr (Postfix) with ESMTP id 7013FBC58
for ; Thu, 16 Sep 2010 21:00:45 +0200 (CEST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AnABANMFkkxKfVIqkGdsb2JhbACDG55pCBUBAQEBCQkMBxEDH6okiH08ghSGbC2IVAEBAwWBHYMrdASKLw
X-IronPort-AV: E=Sophos;i="4.56,378,1280700000";
d="scan'208";a="57391582"
Received: from mail-ww0-f42.google.com ([74.125.82.42])
by mail3-smtp-sop.national.inria.fr with ESMTP; 16 Sep 2010 21:00:45 +0200
Received: by wwb31 with SMTP id 31so420326wwb.3
for ; Thu, 16 Sep 2010 12:00:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:mime-version:received:in-reply-to
:references:from:date:message-id:subject:to:content-type
:content-transfer-encoding;
bh=liClZ046lrmE9rqB7/NUNm9+kKqX/DmIN5SlUa/oypE=;
b=mpCo5rr5NCZRhMSVaZrm6PHiCimuk9iA5+uTiA+bftGxcyX8Frrq2yEKxYqpRsvZan
rGukjAq+WiA8WZlE7bYYqSToc5Avv0p2X6L5Hi/hFIE3VBLusbyCT+SVKru6fYRnyDJY
7Q3IVnIYK26dnOjbH4FWgTiXuLEUYWxAO6BLQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:content-transfer-encoding;
b=T/6EgpsZjvYIGHfwaw7/SD3/plPsk91Ar/66sRHMThG7EdJKHqmftTqCI0NLGhG9jc
iNryJoSa4nGV6F8fFHVaMpuXuj/L5kjr01ekkxl29B7X+T4uERHKOHwqkdyUqbqG4nnu
/scr0bDZIo0YRdMJoYY8xzQ2VHwfSwrtCPPLg=
Received: by 10.227.43.9 with SMTP id u9mr3266720wbe.41.1284663644664; Thu, 16
Sep 2010 12:00:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.95.210 with HTTP; Thu, 16 Sep 2010 12:00:23 -0700 (PDT)
In-Reply-To:
References:
From: Paolo Donadeo
Date: Thu, 16 Sep 2010 21:00:23 +0200
Message-ID:
Subject: Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?
To: OCaml mailing list
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam: no; 0.00; ocaml:01 ocamlnet:01 ocaml:01 gerd:01 ocamlnet:01 threading:01 model:01 W6:98 unix:01 stack:01 caml-list:01 match:02 asynchronous:03 connector:95 concurrent:04
> It would be nice to have something like this; the existing web
> frameworks (e.g. Ocamlnet and Ocsigen as another poster mentioned)
> implement the whole stack, but it would be nice to be able to mix
> and match (e.g. run Ocsigen's Eliom applications in Ocamlnet's
> Netplex server).
Ah! So I'm not the only one to think that this could be a killer
application and a huge driver for the diffusion of OCaml.
Unfortunately the Ocsigen team doesn't consider a FastCGI connector a
priority of any kind, and of course, Gerd doesn't have interest and
time in porting Eliom on Ocamlnet. It's a royal pity!
> My impression is that rack / wsgi punt on this issue, and assume
> threading. But an OCaml equivalent could possibly offer both a
> concurrent/asynchronous and a direct-style interface.
I don't know wsgi, but FastCGI is completely agnostic with regarding
to the concurrency model. A FastCGI server is an application listening
on a socket (Unix or Internet), and that's all.
My dream is *really* Eliom over Ocamlnet.
--=20
Paolo =E2=A0=A0=E2=A0=B5