Version française
Home     About     Download     Resources     Contact us    
Browse thread
Correct way of programming a CGI script
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] Correct way of programming a CGI script
> Hi! I am in a process of making a website (which might receive substantial
> amounts of traffic), and am considering options for the backend. I discarded
> PHP and other similar server-side scripting languages, due to performance
> (...)

Hi Tom,

I suggest you take a look at Ocsigen (http://www.ocsigen.org/).  It's
a fully-featured web server written in OCaml, that not only supports
static pages and traditional CGI programming, but also has a module
called Eliom that allows you to build dynamic websites using all the
best features of the OCaml language.

As for performance, the bottleneck will surely be the database backend.
Even when generating dynamic pages with Eliom, Ocsigen can easily output
close to a hundred pages per second on a decent machine.  (And of course
it's even faster with static content!)

Cheers,
Dario Teixeira



      ________________________________________________________
Nervous about who has your email address? Yahoo! Mail can help you win the war against spam.
http://uk.docs.yahoo.com/mail/addressguard2.html