List Info

Thread: "ocaml_beginners"::[] Best library for a simple CGI application?




"ocaml_beginners"::[] Best library for a simple CGI application?
country flaguser name
United States
2008-03-21 17:23:19

Hi,

What's the best OCaml library to use for writing a simple CGI appliciation?

Evan

--
Evan Weaver
Cloudburst, LLC

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Best library for a simple CGI application?
country flaguser name
United Kingdom
2008-03-21 17:40:23

On Fri, Mar 21, 2008 at 06:23:19PM -0400, Evan Weaver wrote:
> What's the best OCaml library to use for writing a simple CGI appliciation?

http://wiki.cocan.org/web_programming_with_ocaml

http://cocan.org/comparisons/web_application

Rich.

--
Richard Jones
Red Hat

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Best library for a simple CGI application?
country flaguser name
United States
2008-03-21 18:26:14

Thanks. I am still not really clear which is the most widely supported
way of doing straightforward CGI. OcamlNet2 maybe?

Ideally I would use something that would allow easy switching between
CGI and FastCGI.

Are these the best examples for OCamlNet2:
https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/code/examples/cgi/netcgi2/
?

Evan

On Fri, Mar 21, 2008 at 6:40 PM, Richard Jones < rich%40annexia.org">richannexia.org> wrote:
&gt; On Fri, Mar 21, 2008 at 06:23:19PM -0400, Evan Weaver wrote:
&gt; > What's the best OCaml library to use for writing a simple CGI appliciation?
>
> http://wiki.cocan.org/web_programming_with_ocaml
>
>; http://cocan.org/comparisons/web_application
>
> Rich.
&gt;
> --
> Richard Jones
&gt; Red Hat
>
>
&gt;
> ------------------------------------
&gt;
> Archives up to December 31, 2007 are also downloadable at http://www.connettivo.net/cntprojects/ocaml_beginners/
> The archives of the very official ocaml list (the seniors' one) can be found at http://caml.inria.fr
> Attachments are banned and you're asked to be polite, avoid flames etc.Yahoo! Groups Links
&gt;
>
>
>;

--
Evan Weaver
Cloudburst, LLC

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Best library for a simple CGI application?
country flaguser name
United Kingdom
2008-03-22 07:46:31

On Fri, Mar 21, 2008 at 07:26:14PM -0400, Evan Weaver wrote:
&gt; Thanks. I am still not really clear which is the most widely supported
> way of doing straightforward CGI. OcamlNet2 maybe?

The OCaml world hasn't really settled on a single best web authoring
tool, as is the case with Perl (CGI.pm) and Ruby (Rails). You've just
got to look at each of them and decide if they have the right mix of
features, availability, maintenance etc for you.

> Ideally I would use something that would allow easy switching between
> CGI and FastCGI.

If this is a constraint then I'm pretty sure it's got to be ocamlnet
(as far as I'm aware anyhow).

Rich.

--
Richard Jones
Red Hat

__._,_.___
.

__,_._,___
"ocaml_beginners"::[] Re: Best library for a simple CGI application?
country flaguser name
United States
2008-03-22 10:05:40

> What's the best OCaml library to use for writing a simple CGI
> appliciation?

Hi,

Does it necessarily have to be a CGI application? If you're looking
to build a web application, I would recommend taking a look at the
Ocsigen project. Its Eliom module allows you to build webapps in Ocaml
in a way that is much superior to traditional CGI. (And if you really
want to, you can also use CGI with the Ocsigen server).

Link: http://www.ocsigen.org/

Cheers,
Dario

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Re: Best library for a simple CGI application?
country flaguser name
United States
2008-03-22 17:14:14

> Does it necessarily have to be a CGI application? If you're looking
> to build a web application, I would recommend taking a look at the
> Ocsigen project. Its Eliom module allows you to build webapps in Ocaml
&gt; in a way that is much superior to traditional CGI. (And if you really
&gt; want to, you can also use CGI with the Ocsigen server).

It doesn't have to be CGI, but I wanted to start small because I don't
know anything. Learning a new server and framework and OCaml all at
once seemed pretty daunting.

Evan

--
Evan Weaver
Cloudburst, LLC

__._,_.___
.

__,_._,___
[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )