caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Stéphane Glondu" <steph@glondu.net>
To: Paolo Donadeo <p.donadeo@gmail.com>
Cc: OCaml mailing list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?
Date: Fri, 17 Sep 2010 10:57:29 +0200	[thread overview]
Message-ID: <4C932D79.4040905@glondu.net> (raw)
In-Reply-To: <AANLkTin2X4fxZa+GRtk64TAGVd-3qPagU408EyaUQ6Ps@mail.gmail.com>

Le 17/09/2010 09:59, Paolo Donadeo a écrit :
>> Could you expand on the reasoning a little?  I mean, what is for you
>> the advantage of running Eliom over Ocamlnet as opposed to over the
>> Ocsigen server?
>
>> From my point of view the problem with Ocsigen is that it requires you
> to install an HTTP server. In the real world the programmer, or even
> the project leader, don't have this freedom of choice, because there
> are system constraints imposed by others. You are often asked to
> provide an application, along with detailed instruction for the
> installation in a standard environment, where one (ore more) HTTP
> servers have some standard connectors (WSGI, FastCGI, AJP, etc...)

Ocsigen can run with most other webservers via a reverse proxy. The 
Ocsigen process itself doesn't even need to have special privileges, and 
can be installed and run by a regular user. If you are allowed to use 
WSGI, FastCGI, AJP, etc., it shouldn't be more difficult to use Ocsigen. 
Process management might not be as handy, so you'll have to manage 
somehow the ocsigen process crashing / being killed, but there are other 
tools (e.g. monit) for that.

I'm not saying that WSGI, FastCGI, AJP, etc. support for Eliom has no 
benefit! But we can live (and we do) without it for now.

-- 
Stéphane


  reply	other threads:[~2010-09-17  8:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 11:05 ben kuin
2010-09-16 16:04 ` [Caml-list] " Michael Ekstrand
2010-09-16 17:29 ` Jake Donham
2010-09-16 19:00   ` Paolo Donadeo
2010-09-16 22:04     ` Dario Teixeira
2010-09-16 22:27       ` Michael Ekstrand
2010-09-16 23:55         ` Vincent Balat
2010-09-17  8:08           ` Paolo Donadeo
2010-09-17  8:03         ` Paolo Donadeo
2010-09-17  7:59       ` Paolo Donadeo
2010-09-17  8:57         ` Stéphane Glondu [this message]
2010-09-19 10:32   ` Richard Jones
2010-09-21  7:50     ` ben kuin
2010-09-21 19:20       ` Richard Jones
2010-09-21 19:46         ` Gerd Stolpmann
2010-09-21 19:58         ` Martin Jambon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C932D79.4040905@glondu.net \
    --to=steph@glondu.net \
    --cc=caml-list@yquem.inria.fr \
    --cc=p.donadeo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).