comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: Re: Should a GUI be separated from the application?
Date: Wed, 27 Sep 2006 13:26:36 -0500
Date: 2006-09-27T13:26:36-05:00	[thread overview]
Message-ID: <QZqdncY6B7HBX4fYnZ2dnUVZ_qCdnZ2d@comcast.com> (raw)
In-Reply-To: uac4l78xo.fsf@stephe-leake.org

> 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.
   Agreed.  It depends on the complexity and the timing requirements.
If the response to a human-caused event can be done in a fraction of a
second, the code might be included in the GUI event handler, while
responses that take a long time should be separate to avoid blocking other
events.  If the complexity of communication is low - updating a percent
complete display for example - then it's easy to separate app and GUI code
and communicate with something simple like a protected object.  If the
communication is very complex, your user may find even rendezvous
difficult and want to put the app code inside the event handler. One
size doesn't fit all.



  reply	other threads:[~2006-09-27 18:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-26 17:16 Should a GUI be separated from the application? Lucretia
2006-09-27 13:09 ` Stephen Leake
2006-09-27 18:26   ` tmoran [this message]
2006-09-28  6:09   ` Simon Wright
2006-09-28 16:52     ` Pascal Obry
2006-09-28 18:06       ` tmoran
2006-09-28 18:46         ` Pascal Obry
2006-09-29  4:56       ` Simon Wright
2006-09-29 17:54         ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox