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: Michael Ekstrand <michael@e...>
Subject: Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?
On Thu, 2010-09-16 at 13:05 +0200, ben kuin wrote:
> Is there a web server interface / adapter for ocaml that abstracts
> your application from the various web server implementations?
> What is your prefered way to write a small web app for example a to-do list?

There are two good options:
      * Ocsigen <http://ocsigen.org>, a web server and application
        framework in OCaml.  At this point, you must use its web server
        (which you could put behind Apache or whatever with a reverse
        proxy).  The setup would look like a lot of Rails deployments.
        I currently use Ocsigen alone on my web site.
      * OCamlNet <http://projects.camlcity.org/projects/ocamlnet.html>
        provides a CGI API with FastCGI and AJP adapters for building
        web applications.  You can run that behind most web servers.

- Michael

-- 
Web/blog: http://elehack.net/michael
Jabber/Google Talk: this e-mail address
Twitter: http://twitter.com/elehack
mouse, n: a device for pointing at the xterm in which you want to type