From: Maciej Sobczak on
Hi,

Did anyone realistically practised CGI in Ada?

I know about AWS, but let's focus on "regular" web server (say, Apache)
with CGI in Ada serving dynamic content.

If yes, are there any reasonable libraries for handling url
encoding/decoding, html entity escaping, form data retrieval, cookies, etc.?

Technically everything is possible, but I'm curious whether Ada has been
successfully used in this area.

--
Maciej Sobczak : http://www.msobczak.com/
Programming : http://www.msobczak.com/prog/
From: Georg Bauhaus on
On Wed, 2007-03-07 at 11:45 +0100, Maciej Sobczak wrote:

> If yes, are there any reasonable libraries for handling url
> encoding/decoding, html entity escaping, form data retrieval, cookies, etc.?

David Wheeler's AdaCGI is a fairly complete solution.
I haven't created a larger site with it, though.
http://www.dwheeler.com/adacgi/


From: Martin Krischik on
Maciej Sobczak schrieb:
> Hi,
>
> Did anyone realistically practised CGI in Ada?

Yes

> I know about AWS, but let's focus on "regular" web server (say, Apache)
> with CGI in Ada serving dynamic content.
>
> If yes, are there any reasonable libraries for handling url
> encoding/decoding, html entity escaping, form data retrieval, cookies,
> etc.?
>
> Technically everything is possible, but I'm curious whether Ada has been
> successfully used in this area.

There are quite a few libraries for GCI in Ada them and GNAT even got an
integrated version. AFAIK the best GCI library is the one in AdaCL [1].

Martin

[1] http://adacl.sourceforge.net/pmwiki.php/Main/CommonGatewayInterface
From: Anders Wirzenius on
Maciej Sobczak <no.spam(a)no.spam.com> writes:

> Hi,
>
> Did anyone realistically practised CGI in Ada?
>
> I know about AWS, but let's focus on "regular" web server (say,
> Apache) with CGI in Ada serving dynamic content.
>
> If yes, are there any reasonable libraries for handling url
> encoding/decoding, html entity escaping, form data retrieval, cookies,
> etc.?
>
> Technically everything is possible, but I'm curious whether Ada has
> been successfully used in this area.
>
> --
> Maciej Sobczak : http://www.msobczak.com/
> Programming : http://www.msobczak.com/prog/

I have used Adacgi for simple cgi'ing: form data retrieval. The
pages are not available any more on internet :(

--
Anders
From: Martin Krischik on
Georg Bauhaus schrieb:
> On Wed, 2007-03-07 at 11:45 +0100, Maciej Sobczak wrote:
>
>> If yes, are there any reasonable libraries for handling url
>> encoding/decoding, html entity escaping, form data retrieval, cookies, etc.?
>
> David Wheeler's AdaCGI is a fairly complete solution.
> I haven't created a larger site with it, though.
> http://www.dwheeler.com/adacgi/

Which I have extended and incorporated into AdaCL. While I value David's
initial work it is superseded now - the AdaCL version can do more - most
notably it supports file upload.

Martin