comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: Ada Advocacy - WPG (Web Page Generation) scheme
Date: Mon, 6 Oct 2003 04:15:43 +0100
Date: 2003-10-06T04:15:43+01:00	[thread overview]
Message-ID: <blqmp2$fe2a7$1@ID-25716.news.uni-berlin.de> (raw)
In-Reply-To: PEednfVB_pKyXR2iU-KYgg@gbronline.com

"Wes Groleau" <groleau@freeshell.org> wrote in message
news:PEednfVB_pKyXR2iU-KYgg@gbronline.com...

> I'm not sure I understand.  Are you saying
> that some variant of Ada would be embedded
> in a web page, then the browser would send it
> back to the server it came from to be compiled
> into a CGI program and executed?

I was describing an authoring process, not a browsing process. What I was
suggesting was that the author of a web page would: write/edit the text file
containing mixed HTML and Ada code; upload it to the web hosting server
machine; run the translator to convert the mixed HTML and Ada code text file
into a pure Ada program source text file; compile the Ada program (probably
with GNAT) to get a binary executable CGI program; put the CGI program into
the cgi-bin directory.

The corresponding browsing process would be: the user starts at the web site
home page, which will probably be a normal HTML web page; the user follows a
link in this which invokes the CGI program (the URL might be something like
"http://www.mystuff.com/shop/stocklist.cgi?item=23401", where the name of
the CGI program is "stocklist.cgi"); the CGI program is executed by the web
server, and generates a dynamic web page, which it outputs on its standard
output; the web server pipes this back to the client's browser, which
displays it.

Having said all of that, I've now revised my suggestion in line with the AWS
template parser, written by Pascal Obry.

--
Nick Roberts
Jabber: debater@charente.de [ICQ: 159718630]





  reply	other threads:[~2003-10-06  3:15 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-04 20:29 Ada Advocacy - WPG (Web Page Generation) scheme Nick Roberts
2003-10-04 21:17 ` Larry Kilgallen
2003-10-05  3:32   ` Nick Roberts
2003-10-05  3:51     ` Larry Kilgallen
2003-10-05  9:19       ` Stephane Richard
2003-10-04 21:18 ` Stephane Richard
2003-10-05  3:21   ` Nick Roberts
2003-10-05  9:16     ` Preben Randhol
2003-10-05  9:26     ` Pascal Obry
2003-10-06  0:00       ` Nick Roberts
2003-10-06  0:06         ` Stephane Richard
2003-10-06  8:56         ` chris
2003-10-06 16:31         ` Pascal Obry
2003-10-06 18:30           ` Wiljan Derks
2003-10-06 19:45             ` Martin Dowie
2003-10-08 18:22               ` Wiljan Derks
2003-10-09 17:48                 ` Pascal Obry
2003-10-09 21:19                   ` Wiljan Derks
2003-10-10  7:42                     ` Preben Randhol
2003-10-10 18:26                       ` Wiljan Derks
2003-10-07 17:21             ` Pascal Obry
2003-10-08  7:18               ` Jean-Pierre Rosen
2003-10-08 19:09               ` Wiljan Derks
2003-10-06  1:07     ` Wes Groleau
2003-10-06  3:15       ` Nick Roberts [this message]
2003-10-05  9:14   ` Preben Randhol
2003-10-05  1:00 ` Wes Groleau
2003-10-05  3:05   ` Nick Roberts
2003-10-06  1:03     ` Wes Groleau
2003-10-08 18:14   ` Jacob Sparre Andersen
2003-10-05  9:17 ` Pascal Obry
2003-10-06  3:53   ` David Trudgett
2003-10-06  7:41   ` Dmitriy Anisimkov
2003-10-06 16:09     ` Pascal Obry
2003-10-06 20:28     ` Georg Bauhaus
2003-10-05  9:41 ` Preben Randhol
2003-10-05 11:30 ` Simon Wright
2003-10-05 14:59 ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox