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-7-bit Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Should a GUI be separated from the application? References: <1159290971.834857.212700@b28g2000cwb.googlegroups.com> From: Stephen Leake Date: Wed, 27 Sep 2006 09:09:23 -0400 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:24umi8TcvYXup65gP88XRoV1jvk= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 7dced451a780f63d295d021463 Xref: g2news2.google.com comp.lang.ada:6774 Date: 2006-09-27T09:09:23-04:00 List-Id: "Lucretia" writes: > When developing an application it is *mostly* combined with the GUI, a > lot of toolkits do this. You would extend a UI tagged-type (or class, > or whatever your language uses) and include the code inside the new > tagged-type, an example would be a toolkit which provides event handler > callbacks via primitive types (a la CLAW) thus forcing you to include > your application code into the new derived type. > > Is this the best thing to do? The users have the option of making the "application code" in the GUI framework just communicate with the real application, via rendezvous, sockets or whatever. > Should I give the users the option? What other design would you offer? -- -- Stephe