Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jimmie Houchin <jhouchin@texoma.net>
To: Samuel Heriard Dubreuil <heriard@clipper.ens.fr>
Cc: Alain Frisch <frisch@clipper.ens.fr>, Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Web Development with OCaml
Date: Wed, 11 Jul 2001 09:11:24 -0500	[thread overview]
Message-ID: <3B4C5E8C.64F7975C@texoma.net> (raw)
In-Reply-To: <20010711110955.A21333@clipper.ens.fr>

I would love to see your mod_ocaml code.
I don't know how much I will be able contribute as I am learning.
However it would be a good learning opportunity for both OCaml and the
Apache API.

A quality mod_ocaml would potentially help OCaml gain mindshare in the
web development arena. Since OCaml is a good general language, that use
could spill over.

A good architecture first, then performance.
It would be nice to have either in this module or loadable from this
module a module for a pool of database handles. That way we could have
persistent connections to the database.

Just some thoughts.

Thanks for you input (both of you).
I look forward to seeing your code.
Email it to me or send me a link.

Thanks.

Jimmie Houchin

Samuel Heriard Dubreuil wrote:
> 
> > > Is there any interest in a mod_ocaml or a fast-cgi module for OCaml?
> > > I haven't a clue on how to develop either but could possibly learn. :)
> > > After learning OCaml (at least some) first.
> >
> > If I understand correctly what you mean by mod_ocaml (packaging
> > OCaml runtime environment in a Apache module, in order to avoid to
> > load it for every request), Samuel Heriard (in Cc)
> > started such a project; I don't know how the progress status.
> 
> That's right, I started to write a mod_caml (a la mod_perl). I've not been
> working on it since six months, but it does work under apache 1.3 (at
> least "Hello world !").
> I didn't worry too much about performance issues because I wrote it in
> one afternoon mainly to learn the apache api. But I'd like to restart working
> on it.
> The principle was to associate the caml handler to .cmo files, dynamically
> load  $DocumentRoot/bar.cmo on a request to http://foo.com/bar.cmo, let the cmo
> do the job, and then unload it. The goal was to create something like jsp.
> I know it's pretty inefficient, but with a cache system, you would not
> have to load/unload a .cmo for each request.
> 
> > The GC should'nt be a big problem: between two requests, the runtime
> > environment can completely flush the heap (excepted for the
> > connection/persistency manager). But I may miss some important issues.
> 
> The connection manager is an orthogonal problem. A connection may use
> several instances of the runtime (several apache process) so I think it
> has nothing to deal with the garbage collector (one can use files, shared
> memory or db to store the connection informations).
> 
> So if you're interested in working an a mod_ocaml, let me know, I'll send
> you the code (actually not more than a hundred lines of caml/C if I
> remember).
> 
> --
> Samuel
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-07-11 14:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10  0:01 Jimmie Houchin
2001-07-10  7:10 ` Jean-Christophe Filliatre
2001-07-10  7:15 ` Tom Hirschowitz
2001-07-10  8:19   ` David Mentre
2001-07-10  9:38   ` Alain Frisch
2001-07-11  5:49     ` Jimmie Houchin
2001-07-11  6:03       ` Alexander V. Voinov
2001-07-11 14:47         ` Jimmie Houchin
2001-07-12  1:58           ` John Max Skaller
2001-07-11  6:19       ` Alain Frisch
2001-07-11  9:09         ` Samuel Heriard Dubreuil
2001-07-11 14:11           ` Jimmie Houchin [this message]
2001-07-11 15:35       ` Francois Rouaix
2001-07-11 20:44         ` Gerd Stolpmann
2001-07-12  2:32         ` Jimmie Houchin
2001-07-13  5:37       ` William Chesters
2001-07-13 10:29         ` Alain Frisch
2001-07-13 11:16           ` Vitaly Lugovsky
2001-07-13 14:04             ` Xavier Leroy
2001-07-13 17:08               ` [web-caml] " Vitaly Lugovsky
2001-07-15 18:03               ` Ari Heitner
2001-07-15 20:19                 ` Gerd Stolpmann
2001-07-16  8:23                 ` wakita
2001-07-17 16:18                 ` John Max Skaller
2001-07-17 18:50                   ` Ari Heitner
2001-07-18 22:24                     ` John Max Skaller
2001-07-13 16:12           ` Lyn A Headley
2001-07-13 17:50             ` William Chesters
2001-07-13 16:51           ` Miles Egan
2001-07-13 18:12           ` Jimmie Houchin

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=3B4C5E8C.64F7975C@texoma.net \
    --to=jhouchin@texoma.net \
    --cc=caml-list@inria.fr \
    --cc=frisch@clipper.ens.fr \
    --cc=heriard@clipper.ens.fr \
    /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