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-06 09:09:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!proxad.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Ada Advocacy - WPG (Web Page Generation) scheme Date: 06 Oct 2003 18:09:20 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: NNTP-Posting-Host: avelizy-103-1-3-148.w217-128.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader4.wanadoo.fr 1065456562 11788 217.128.47.148 (6 Oct 2003 16:09:22 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 6 Oct 2003 16:09:22 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95 Xref: archiver1.google.com comp.lang.ada:316 Date: 2003-10-06T16:09:22+00:00 List-Id: Dmitriy Anisimkov writes: > Pascal Obry wrote: > > Yep, but in many places you have scripts and this is plain wrong. Having > > script into a Web page is mixing layout (HTML) and code. Both must really be > > separated, one of the reason is that they are done by differents peoples. > > Pascal, > > Don't template_parser mixing code and HTML ? > template_parser have own code inside of HTML too. No code, just simple tags. There is no loop, no variables, no assignement... > We have to mix languages anyway, becouse dynamic data > provided by non-HTML languages. Of course, but the link must be as light as possible. > Template_Parser internal language is far from Ada functionality. > So why don't have Ada inside of HTML ? Because it's a pain to debug. You end-up having code in hundred of pages... > It is not possible to have DB access from template parser now. Right, but this is done in the code (Ada) and mapped by the template engine. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595