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-Thread: 103376,41e2008f41502f03 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!news.glorb.com!news.cs.univ-paris8.fr!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Message-ID: <451BFDBA.7080907@obry.net> Date: Thu, 28 Sep 2006 18:52:10 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Simon Wright Subject: Re: Should a GUI be separated from the application? References: <1159290971.834857.212700@b28g2000cwb.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 28 Sep 2006 18:52:14 CEST NNTP-Posting-Host: 81.249.124.236 X-Trace: 1159462334 news.orange.fr 27408 81.249.124.236:2987 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:6797 Date: 2006-09-28T18:52:14+02:00 List-Id: Simon Wright a �crit : > Stephen Leake writes: > >> What other design would you offer? > > What about having a browser as the GUI and using AJAX-style HTTP for > the comms? The back-end would be something like AWS or my EWS > (http://embed-web-srvr.sourceforge.net). Indeed, a very nice way to deal with GUI. This is what I call pluggable-GUI ! > It does mean programming your GUI in HTML/JavaScript which I can agree > is less than pleasant, but I'm not at all sure that GUI programming in No. You can use Ajax-XML based control of the GUI. See the AWS's Ajax Web Elements demos. The application only output XML actions. No HTML or Javascript messing, the framework is already done by AWS. > Ada is any less tedious ... and it certainly makes you think about > separation of concerns! > > I have yet to get to grips with XML-formatted (ie, structured) > responses. Perhaps I'm reading the wrong book (Professional Ajax from > Wrox). Or you haven't looked at AWS recently :) Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595