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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e429176c9adb07b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-16 08:36:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: RE: [OT] Best way to isolate a GUI? Date: Sun, 16 Feb 2003 08:36:18 -0800 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1045413401 95850 137.194.161.2 (16 Feb 2003 16:36:41 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 16 Feb 2003 16:36:41 +0000 (UTC) To: "'comp.lang.ada mail to news gateway'" Return-Path: X-Envelope-From: rleif@rleif.com X-Envelope-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:34154 Date: 2003-02-16T08:36:18-08:00 In principle, the best way to isolate the GUI is to use XForms with XML. One can now download an XForms tool that works with Windows, http://www.formsplayer.com/. I believe that there are similar tools for Linux. The next step is to write the Ada software to interface with XForms. It should be possible to build an Ada windowing package based on XForms and other XML documents. This would provide both operating system independence and the capacity to interact with the next version of Microsoft Office. The present Ada GUI tools and screen generators could be extended for this purpose. Bob Leif -----Original Message----- From: Jano [mailto:402450@cepsz.unizar.es] Sent: Sunday, February 16, 2003 2:20 AM To: comp.lang.ada@ada.eu.org Subject: [OT] Best way to isolate a GUI? Hello, as for my (lately) frequent questions, you may be aware I'm starting a new project in Ada. Well, the matter is that I want the core functionality to be isolated from the GUI. And that's the question: how's the best mean to do that. I've thought the following: 1) Use AWS and let any browser do the rendering. That's not really isolating the GUI, because all the generating code would be inside the core (unless I also apply): 2) Use sockets to communicate the two processes. 2.a) Use regular Ada streams to pass data types. 2.b) Use some other protocol, for example [compressed] XML. 3) Your sugestions welcome. I would want that the isolation be such any kind of GUI can be build on top. Maybe even made two of them run concurrently. For example, web reports via AWS and a control GUI with native look. Any have prior experience? Some successful example on the wild to check? Thanks in advance, -- ------------------------- Jano 402450[at]cepsz.unizar.es -------------------------