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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,41e2008f41502f03,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail From: "Lucretia" Newsgroups: comp.lang.ada Subject: Should a GUI be separated from the application? Date: 26 Sep 2006 10:16:11 -0700 Organization: http://groups.google.com Message-ID: <1159290971.834857.212700@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: 62.56.75.133 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1159290977 9223 127.0.0.1 (26 Sep 2006 17:16:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 26 Sep 2006 17:16:17 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060903 Firefox/1.5.0.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=62.56.75.133; posting-account=G-J9fgwAAADgpzBiEyy5tO4f8MX5fbpw Xref: g2news2.google.com comp.lang.ada:6753 Date: 2006-09-26T10:16:11-07:00 List-Id: Hi, 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? Should I give the users the option? Thanks, Luke.