My forays into binding OCaml to Ruby have failed and I'm thinking
about going all OCaml.
Assuming that I'm running naked nethttpd as my web server, how should
I implement logging of HTTP requests to disk (a-la Apache)? Is this
something that exists somewhere?
Also, what XML package for OCaml is the easiest for publishing RSS
and parsing XHTML?
I looked at several possible options this week. On the one hand, Alex
Baretta graciously provided me with source code for AS/XCaml which I
found overwhelmingly complex and I totally dislike how OCaml code is
embedded in Ocsigen's templates. On the other hand, I managed to get
mod_caml up and running and compile ocamlnet.
I'm thinking of pairing Bruno De Fraine's "Toy implementation of
Zope's TAL" [1] with nethttpd and running my site on that. As an
alternative, I may be able to plug Bruno's templates into mod_caml or
Ocsigen.
I'm looking for advice here.
Thanks in advance, Joel
_______________________________________________
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
I'd go for separate programs with message communication.
> Assuming that I'm running naked nethttpd as my web server, how should
> I implement logging of HTTP requests to disk (a-la Apache)? Is this
> something that exists somewhere?
I believe there are bindings for things like log4 but I can't remember where.
> Also, what XML package for OCaml is the easiest for publishing RSS
> and parsing XHTML?
I've only ever used XML-Light. It is great when it works but it doesn't handle
things like incremental parsing and whitespace. I believe Gerd's XML
libraries are more compliant but harder to use.
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists
COCANWIKI (very recent versions) use OCamlRSS and xml-light.
Rich.
--
Richard Jones
Red Hat