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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,e429176c9adb07b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-18 19:30:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!oleane.net!oleane!nnrp.oleane.net!skymaster!nobody From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Re; [OT] Best way to isolate a GUI? Date: Tue, 18 Feb 2003 08:24:27 +0100 Organization: Guest of France Telecom Oleane's newsreading service Message-ID: References: NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1045625386 15964 195.25.228.57 (19 Feb 2003 03:29:46 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Wed, 19 Feb 2003 03:29:46 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:34218 Date: 2003-02-18T08:24:27+01:00 List-Id: "Jano" <402450@cepsz.unizar.es> a �crit dans le message de news: MPG.18bb6ea1d4e7753f98969c@News.CIS.DFN.DE... > I want total isolation between core and GUI. Really, that it's going to > be a Gnutella servant is not relevant except for background. For total > isolation I mean that the core could run without a GUI. I.e., the GUI > code is not necessary at compile time. Indeed, a Gnutella servant > doesn't need the GUI except for feedback and getting new searches from > the user. That could be accomplished with a single input box. > A solution that I have used quite often in that kind of occasion: 1) make your application command line oriented only (read from standard input, output to standard output) 2) run it from Tcl and let Tcl send the commands. 3) (optional) integrate the Tcl part into the program with Tash, if you don't want Tcl to be apparent. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr