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=0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_WORDY autolearn=no 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-08 12:41:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsgate.cistron.nl!news2.euro.net!zonnet-feed!zonnet-reader-1.POSTED!not-for-mail From: "Wiljan Derks" Newsgroups: comp.lang.ada References: Subject: Re: Ada Advocacy - WPG (Web Page Generation) scheme X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Wed, 8 Oct 2003 21:09:10 +0200 NNTP-Posting-Host: 62.166.1.11 X-Complaints-To: abuse@zonnet.nl X-Trace: zonnet-reader-1 1065642095 62.166.1.11 (Wed, 08 Oct 2003 21:41:35 MET DST) NNTP-Posting-Date: Wed, 08 Oct 2003 21:41:35 MET DST Xref: archiver1.google.com comp.lang.ada:491 Date: 2003-10-08T21:09:10+02:00 List-Id: "Pascal Obry" wrote in message news:ufzi555h8.fsf@wanadoo.fr... > > Not flexible is a bit generic to me, what would be nice is to be able to > identify where a script would have helped in a real application. Maybe I can > add something to AWS/Templates to work around that. As you certainly knows > I've build many Web applications using AWS/Templates and I have never felt > restricted... > I think this is more then a matter of taste. For example, I generate in my web application navigation trees similar to the explorer directory structure. Such an output is difficult to generate using the AWS templates. On the other hand it is simple to generate this when I have procedures that reside in the template. These can just iterate the tree structure and while doing that generate the proper html. Besides this, this makes the coupling of the html much more loose from the ada code. So in general the code is easier to understand although not all code resides in the ada program, but also partly in the template.