comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@crs4.it>
Subject: Re: Ada Advocacy - WPG (Web Page Generation) scheme
Date: Wed, 08 Oct 2003 20:14:19 +0200
Date: 2003-10-09T05:44:37+00:00	[thread overview]
Message-ID: <3F8453FB.8060803@crs4.it> (raw)
In-Reply-To: <5qWdnWcBj-C38OKiU-KYuA@gbronline.com>

Wes Groleau wrote:

> If you want to embed Ada into HTML, instead of inventing
> a new cryptic syntax, use the same syntax as for embedding
> Javascript.

Since it (as I read it) is different from Javascript in two important 
ways, I wouldn't use that syntax:

  1) WPG is intended for server-side use, whereas Javascript is intended
     for client-side use.

  2) Even though the code doesn't look like it, it is actually more an
     attempt at embedding HTML code in Ada programs in an easy way, than
     the other way around.

Altogether I find the PHP inspired (by the looks) syntax very sensible.

My main worry about the idea is to run the programs through the CGI 
protocol.  Starting a separate program every time a page is requested is 
not very efficient.  I think it has to be made into something that can 
be loaded as a module in Apache (and in AWS of course).

Jacob
-- 
"People are not intrinsically greedy. They are only
  cyclically greedy."




  parent reply	other threads:[~2003-10-08 18:14 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
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 [this message]
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