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 02:26:43 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Ada Advocacy - WPG (Web Page Generation) scheme Date: 05 Oct 2003 11:26:40 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: NNTP-Posting-Host: avelizy-103-1-5-191.w80-13.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news-reader5.wanadoo.fr 1065346002 9940 80.13.115.191 (5 Oct 2003 09:26:42 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 5 Oct 2003 09:26:42 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.95 Xref: archiver1.google.com comp.lang.ada:256 Date: 2003-10-05T09:26:42+00:00 List-Id: "Nick Roberts" writes: > > With AWS as Server > > AWS did come into my mind certainly. In that scenario, it would be possible > to compile the web page generator procedure right into the web server > (rather than have it run as a separate CGI program). This could be the > ultimate 'power solution' in some cases. (Hehe ;-) Well AWS has alread it's templates engine. Please have a look. One important point is that your template file must be compatible with the design tools like DreamWeaver. And a designer is not a programmer, the "tags" or template commands must be easy to use, scripting language are not in this category. > > Web Server usage only? > > One of the neat things about CGI programs is that you can easily run them > 'standalone' to test them. Also, the But it has many many drawbacks. CGI programs run as differents process, this is not good for server with a lot of hits. Also there is security issues. I'm not expert here, but there was many exploit with CGI oriented servers (replacing CGI with some other programs, CGI were running as root on the early days, if interpreted - PERL CGI - it was possible to send sequence of code after a ';' line separator...). 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