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-06 11:29:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!surfnet.nl!newsfeed.wxs.nl!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: Mon, 6 Oct 2003 20:30:02 +0200 NNTP-Posting-Host: 62.166.1.11 X-Complaints-To: abuse@zonnet.nl X-Trace: zonnet-reader-1 1065464997 62.166.1.11 (Mon, 06 Oct 2003 20:29:57 MET DST) NNTP-Posting-Date: Mon, 06 Oct 2003 20:29:57 MET DST Xref: archiver1.google.com comp.lang.ada:326 Date: 2003-10-06T20:30:02+02:00 List-Id: "Pascal Obry" wrote in message news:un0ce5nvb.fsf@wanadoo.fr... > > I'd like to hear from AWS Templates users as I'm certainly biased :) > I have tried using the AWS templates in the past. I think they miss flexibility, and do not allow one to program in the dynamic web page. Having developped several web applications and found this is something of real importance. Using @@ as escape characters (borrowed from the aws template handler) I have build my own template handler that allows one to embed full scripting language into the web pages similar to ASP or PHP. The template handler supports writing procedures, functions and control loops and its syntax is Ada alike. The variables used are objects that can contain anythings (a string, a number or a float). The template handler also supports COM objects. Basically my applications are build around AWS and allow the template handler to perfrom callbacks into my application. This splits the code in basic Ada code that perfroms the basic operation, specific to the application. The code to format the pages dynamically resides in the html files. Works really great !!