Version française
Home     About     Download     Resources     Contact us    
Browse thread
Which development framework for web application in OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vincent Balat <Vincent.Balat@p...>
Subject: Re: [Caml-list] Which development framework for web application in OCaml?
I don't thing we can implement Ocsigen with CGI because our model is not "page 
based" (with Ocsigen, you program web site as a whole, like a usual caml 
program, you do not have a file for each URL). It may be possible with 
FastCGI (?).

We use our own web server to get more freedom than using Apache, and we are 
happy with it. We may plan to make an implementation based on fastcgi or an 
Apache module because a lot of users are asking this (mainly because they 
trust Apache) but I am not convinced that it has a lot of advantages ... It 
may not be difficult to do. Basically, an Apache module for Ocsigen would 
just say : "for all request inside this directory, delegate the page 
generation to Ocsigen".

Note that you can run Apache and Ocsigen on the same server using the "reverse 
proxy" feature of Apache.

Wishes
Vincent

Le Vendredi 30 Juin 2006 17:14, David MENTRE a écrit :
> Hello Vincent,
>
> 2006/6/30, Vincent Balat <Vincent.Balat@pps.jussieu.fr>:
> >  It is not a new
> > language but a set of modules for Objective Caml and a web server.
>
> Is there a specific reason to use a dedicated web server instead of a
> standard one and standard interface (CGI, FastCGI, JServ, ...)?
>
> Best wishes,
> d.
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs