Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-21 Thread Martin Jambon
Richard Jones wrote: > On Tue, Sep 21, 2010 at 09:50:36AM +0200, ben kuin wrote: >>> what's wrong with simply proxying the HTTP connections through your >>> favorite webserver to the backend ocsigen/ocamlnet server? >> Nothing per se. I've tried so set something up with ocsigen, but I had >> to gi

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-21 Thread Gerd Stolpmann
Am Dienstag, den 21.09.2010, 20:20 +0100 schrieb Richard Jones: > On Tue, Sep 21, 2010 at 09:50:36AM +0200, ben kuin wrote: > > > what's wrong with simply proxying the HTTP connections through your > > > favorite webserver to the backend ocsigen/ocamlnet server? > > > > Nothing per se. I've tried

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-21 Thread Richard Jones
On Tue, Sep 21, 2010 at 09:50:36AM +0200, ben kuin wrote: > > what's wrong with simply proxying the HTTP connections through your > > favorite webserver to the backend ocsigen/ocamlnet server? > > Nothing per se. I've tried so set something up with ocsigen, but I had > to give up. There seems to

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-21 Thread ben kuin
> what's wrong with simply proxying the HTTP connections through your favorite > webserver to the backend ocsigen/ocamlnet server? Nothing per se. I've tried so set something up with ocsigen, but I had to give up. There seems to be a certain philosophy behind it how you should writing web apps.

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-19 Thread Richard Jones
On Thu, Sep 16, 2010 at 10:29:23AM -0700, Jake Donham wrote: > On Thu, Sep 16, 2010 at 4:05 AM, ben kuin 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.

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-17 Thread Stéphane Glondu
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 serve

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-17 Thread Paolo Donadeo
On Fri, Sep 17, 2010 at 01:55, Vincent Balat wrote: > Writing a version of Eliom working with fastCGI is theoretically possible, > even if it is probably a huge work. I don't know the inner details of both Ocsigen and Ocamlnet, but consider that Jake wrote lwt-equeue [1], I think this could help.

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-17 Thread Paolo Donadeo
On Fri, Sep 17, 2010 at 00:27, Michael Ekstrand wrote: > OTOH, if Ocsigen had a FastCGI extension, that could alleviate the need > for another web server in some cases. Only if you have access to the server configuration. And I don't know a single sysadmin that will replace Apache with Ocsigen. "

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-17 Thread Paolo Donadeo
On Fri, Sep 17, 2010 at 00:04, Dario Teixeira wrote: > 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

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Vincent Balat
> Running Eliom over OCamlNet lets it integrate a bit more closely with a > third-party web server via FastCGI. Standard functions such as absolute > URL construction and SSL checking that depend on the host, port, and > connection type have a knack for breaking when run behind a reverse > proxy.

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Michael Ekstrand
On Thu, 2010-09-16 at 15:04 -0700, Dario Teixeira wrote: > 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? Running Eliom over OCamlNet lets it integrate a bit more closely with a third-part

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Dario Teixeira
Hi, > My dream is *really* Eliom over Ocamlnet. 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? Cheers, Dario Teixeira ___ Caml-list mailing l

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Paolo Donadeo
> 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 n

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Jake Donham
On Thu, Sep 16, 2010 at 4:05 AM, ben kuin 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 framewo

Re: [Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread Michael Ekstrand
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: *

[Caml-list] web server interface for Ocaml ( like rack, wsgi, ...)?

2010-09-16 Thread ben kuin
hi 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? thanks ben ___ Caml-list mailing list. Subscr