caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] mod_caml 0.5
@ 2003-08-16 10:45 Richard Jones
  2003-08-16 11:02 ` Michal Moskal
  2003-08-16 14:05 ` [Caml-list] " Richard Jones
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Jones @ 2003-08-16 10:45 UTC (permalink / raw)
  To: caml-list


I'm pleased to announce the first working version of mod_caml, the
OCaml bindings for the full Apache 1.3 API.

You can now write CGI "scripts" in your favorite type-safe language,
and have them run inside the Apache webserver for maximum efficiency.

You can also write handlers for some stages of the Apache request
cycle (I will be completing this support in the next release).

Scripts and handlers have access to internal Apache structures such as
request_rec and internal Apache API calls.

This release works with unmodified OCaml 3.06, but probably won't
work with 3.07beta1. I'm releasing this mainly to get feedback about
compiling/installation issues, so please try it out.

http://www.annexia.org/tmp/mod_caml-0.5.tar.gz

Here is the README file:

----------------------------------------------------------------------
mod_caml
Copyright (C) 2003 Merjis Ltd. (http://www.merjis.com/)
$Id: README,v 1.6 2003/08/16 10:25:25 rich Exp $

For installation instructions, see INSTALL.

mod_caml is a set of Objective CAML (OCaml) bindings for the Apache
API. It allows you to run "CGI scripts" written in OCaml directly inside
the Apache webserver. However, it is much much more than just that:

 * Bind to any part of the Apache request cycle.
 * Read and modify internal Apache structures.
 * Share modules of code between handlers and scripts.

mod_caml is distributed under the GNU Library General Public License
(see file COPYING.LIB for terms and conditions).

mod_caml was mainly written by Richard W.M. Jones
(rich@annexia.org). See file AUTHORS for other contributors.

To find out more about OCaml, see the main site at
http://www.ocaml.org . The author has also written a tutorial at
http://merjis.com/richj/computers/ocaml/tutorial/
----------------------------------------------------------------------

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
"I wish more software used text based configuration files!"
 -- A Windows NT user, quoted on Slashdot.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] mod_caml 0.5
  2003-08-16 10:45 [Caml-list] mod_caml 0.5 Richard Jones
@ 2003-08-16 11:02 ` Michal Moskal
  2003-08-16 11:10   ` Richard Jones
  2003-08-16 14:05 ` [Caml-list] " Richard Jones
  1 sibling, 1 reply; 6+ messages in thread
From: Michal Moskal @ 2003-08-16 11:02 UTC (permalink / raw)
  To: caml-list

On Sat, Aug 16, 2003 at 11:45:04AM +0100, Richard Jones wrote:
> I'm pleased to announce the first working version of mod_caml, the
> OCaml bindings for the full Apache 1.3 API.

Any plans for Apache 2.0?

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv
: When in doubt, use brute force. -- Ken Thompson : {E-,w}-- {b++,e}>+++ h

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] mod_caml 0.5
  2003-08-16 11:02 ` Michal Moskal
@ 2003-08-16 11:10   ` Richard Jones
  2003-08-16 19:54     ` [Caml-list] " Alan Post
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Jones @ 2003-08-16 11:10 UTC (permalink / raw)
  To: caml-list

On Sat, Aug 16, 2003 at 01:02:56PM +0200, Michal Moskal wrote:
> On Sat, Aug 16, 2003 at 11:45:04AM +0100, Richard Jones wrote:
> > I'm pleased to announce the first working version of mod_caml, the
> > OCaml bindings for the full Apache 1.3 API.
> 
> Any plans for Apache 2.0?

It's something I've been thinking about, but I don't know how much
in the API changed. ie. Is it a small patch or a huge rewrite?

Also I don't actually know many people using Apache 2.0 :-)

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
PTHRLIB is a library for writing small, efficient and fast servers in C.
HTTP, CGI, DBI, lightweight threads: http://www.annexia.org/freeware/pthrlib/

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] mod_caml 0.5
  2003-08-16 10:45 [Caml-list] mod_caml 0.5 Richard Jones
  2003-08-16 11:02 ` Michal Moskal
@ 2003-08-16 14:05 ` Richard Jones
  2003-08-16 19:55   ` Alexander V. Voinov
  1 sibling, 1 reply; 6+ messages in thread
From: Richard Jones @ 2003-08-16 14:05 UTC (permalink / raw)
  To: caml-list

mod_caml-0.5.1 is out with some minor changes, and I've moved the
whole thing to a permanent website:

http://www.merjis.com/developers/mod_caml/

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes,
trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Caml-list] Re: mod_caml 0.5
  2003-08-16 11:10   ` Richard Jones
@ 2003-08-16 19:54     ` Alan Post
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Post @ 2003-08-16 19:54 UTC (permalink / raw)
  To: caml-list

In article <20030816111030.GA21418@redhat.com>, Richard Jones wrote:
> On Sat, Aug 16, 2003 at 01:02:56PM +0200, Michal Moskal wrote:
>> 
>> Any plans for Apache 2.0?
> 
> It's something I've been thinking about, but I don't know how much
> in the API changed. ie. Is it a small patch or a huge rewrite?

The 2.0 API is mostly a superset of the 1.3 API.  Porting your 1.3
module to 2.0 would mostly be a matter of making sure it is
thread-safe.

The way that callbacks are registered has changed, but adapting to
that would be pretty straightforward.

> Also I don't actually know many people using Apache 2.0 :-)

I think it's really necessary only for people using MicroSoft Windows.
Hence, probably people you don't know.  :)

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Caml-list] mod_caml 0.5
  2003-08-16 14:05 ` [Caml-list] " Richard Jones
@ 2003-08-16 19:55   ` Alexander V. Voinov
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander V. Voinov @ 2003-08-16 19:55 UTC (permalink / raw)
  To: Richard Jones; +Cc: caml-list

Hi Richard,

Actually, I was planning to try out your module, but we run apache 2.0 on 
sparc/solaris. And I see no reason to downgrade.

Thank you!

Alexander

Richard Jones wrote:

> mod_caml-0.5.1 is out with some minor changes, and I've moved the
> whole thing to a permanent website:
> 
> http://www.merjis.com/developers/mod_caml/
> 
> Rich.
> 



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-08-16 19:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-16 10:45 [Caml-list] mod_caml 0.5 Richard Jones
2003-08-16 11:02 ` Michal Moskal
2003-08-16 11:10   ` Richard Jones
2003-08-16 19:54     ` [Caml-list] " Alan Post
2003-08-16 14:05 ` [Caml-list] " Richard Jones
2003-08-16 19:55   ` Alexander V. Voinov

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).