From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b1150caefb87348f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-05 20:15:47 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!82-43-33-75.cable.ubr01.croy.blueyonder.co.UK!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Ada Advocacy - WPG (Web Page Generation) scheme Date: Mon, 6 Oct 2003 04:15:43 +0100 Message-ID: References: NNTP-Posting-Host: 82-43-33-75.cable.ubr01.croy.blueyonder.co.uk (82.43.33.75) X-Trace: news.uni-berlin.de 1065410146 16189767 82.43.33.75 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:289 Date: 2003-10-06T04:15:43+01:00 List-Id: "Wes Groleau" 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]