Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
web server interface for Ocaml ( like rack, wsgi, ...)?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-09-16 (19:00)
From: Paolo Donadeo <p.donadeo@g...>
Subject: Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?
> 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.

Paolo â  â µ