Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?
On Thu, Sep 16, 2010 at 4:05 AM, ben kuin <benkuin@gmail.com> wrote:
> Is there a web server interface / adapter for ocaml that abstracts
> your application from the various web server implementations?

There is no OCaml equivalent to 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). Part of the difficulty is
that there are different approaches to concurrency/asynchrony (Lwt for
Ocsigen, Equeue for netplex). 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.

Jake