Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <xleroy@pauillac.inria.fr>
To: Arnaud SAHUGUET <sahuguet@lucent.com>
Cc: caml-list@pauillac.inria.fr, sahuguet@research.bell-labs.com
Subject: Re: [Caml-list] building web services using oCaml
Date: Tue, 17 Sep 2002 14:16:02 +0200	[thread overview]
Message-ID: <20020917141602.A27670@pauillac.inria.fr> (raw)
In-Reply-To: <016301c25e06$b67e7230$0b1919ac@bl.belllabs.com>; from sahuguet@lucent.com on Tue, Sep 17, 2002 at 12:56:43AM -0400

> I was looking at:
> - ocamlNet
> - cgi
> and they support some aspects but not all that is needed like SSL,
> cookies, etc.

I seem to remember that OcamlNet supports cookies.  But I don't know
of any SSL library for Caml.  I have contemplated writing a Caml
binding for OpenSSL, preferably using CamlIDL to generate the C stubs,
but haven't quite found the time to do it yet :-)  Also, the OpenSSL
documentation is a bit sketchy; does anyone know of better
documentation than what is on www.openssl.org?

> Are there other libraries that would do that for me?

Let me mention Bedouin (http://bedouin.sourceforge.net/), an ambitious
project for programming CGI-like applications in OCaml.  Perhaps too
ambitious, since it appears to be still at the planning stage...

> As a more general question, shouldn't we (meaning of "we" to be
> defined :-) implement these stacks in oCaml?  Is there any value in
> doing it (except for the experience and fun of doing it)?  Is there
> any advantage in having the stack (and whatever is underneath)
> available as oCaml constructs?

There are cases where it just makes more sense to interface to an
existing C library.  I think SSL falls in this category, because the
SSL protocol is quite complex, and the OpenSSL implementation seems
of good quality.  On the other hand, the subset of HTTP that you need
to write CGI-like applications is simple enough that implementing it
directly in OCaml (like OcamlNet does) is easier than trying to
interface to, say, libwww.

> I would like to raise the same question for XML libraries [...]

I pass :-)

Cheers,

- Xavier Leroy
-------------------
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


  reply	other threads:[~2002-09-18 18:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-17  4:56 Arnaud SAHUGUET
2002-09-17 12:16 ` Xavier Leroy [this message]
2002-09-17 14:33   ` Arnaud SAHUGUET
2002-09-17 14:56     ` FYI about Galax [ Was: [Caml-list] building web services using oCaml ] Jerome Simeon
2002-09-17 15:07     ` [Caml-list] building web services using oCaml Stephen Tse
2002-09-18 18:57   ` Alain Frisch
2002-09-18 19:11     ` Arnaud Sahuguet
2002-09-19  7:03   ` openssl (was: [Caml-list] building web services using oCaml) Florian Hars

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=20020917141602.A27670@pauillac.inria.fr \
    --to=xleroy@pauillac.inria.fr \
    --cc=caml-list@pauillac.inria.fr \
    --cc=sahuguet@lucent.com \
    --cc=sahuguet@research.bell-labs.com \
    /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