Re: Auto selection



Answer: it allows the problem to solution to communicate with the
software user through a particular UI paradigm (e.g., GUI, browser,
command line, smoke signals, etc.).

lol

I have implemented the telepathic interface. Just close your eyes and
relax...


If the interface is message-based, one gets a lot of decoupling because
each side can map the message and its data packet to its own view of the

You say 'message-based'. Does this really mean to solely communicate
with (Integer-)IDs? No other parameters? There are no references passed
anymore? Sorry for getting non-abstract. But I cannot imagine how this
should be realized in code. And would this also mean that the business
model has to manage state things?

Consider my example scenario within my other started thread
http://groups.google.at/group/comp.object/browse_frm/thread/ec3ab177baad669a/#
: The command CloseProject. When it gets triggered e.g. by a menu entry
then it could be that some files should be saved. That requires user
interaction. A dialog would get visisble where the user chooses which
file to save before the project get closed. Would a click on okay send
one single ID to the BM which interprets this as a 'Save those files
that were recently marked as must-be-saved in the save-files-dialog?
Would this mean that selection becomes part of the BM? I guess not,
right?

Are there other, alternative interface communication models, beside the
message-based one?

In my (semi-prof.) application I have realized the command pattern that
way so the UI can instantiate command object and add them to the
executing unit (invoker). So it is part of the business model API.
Those command objects are parameterized with some references of
business model objects which are kept in UI objects, e.g. with a tag
property of a tree node. The command SaveProject would be started this
way:
ExecUnit.Execute(new SaveProject(p)) where p is reference to a BM
project object.

Is this a common design? A common communication model? It is something
different to the your stated messages, right? Btw BM changes get
forwared to the UI by events. Would you also forward changes with
messages?

Is there an coded example application in the web where it gets
demonstrated how the command pattern and the interface between the user
interface and the business layer work together? Do you know a link? I'm
not sure if I understand all what you have posted. I think I have to
investigate a bit more on my own.

.



Relevant Pages

  • Re: Easiest/quickest method for very simple interfaces?
    ... > Michael speaks truth here wrt vim. ... >> thought on handling the interface. ... fool-proof switches instead of a single command line interface. ... I meant offering choices ...
    (comp.os.linux.misc)
  • Re: The Linux Revolution: What Happened?
    ... >> with a good graphic interface. ... even the text command is an ... And these simple commands can be made even more accessible through a GUI, ... > image from camera", but I didn't see the point at all, it was much ...
    (comp.os.linux.misc)
  • Re: The Linux Revolution: What Happened?
    ... >> with a good graphic interface. ... even the text command is an ... And these simple commands can be made even more accessible through a GUI, ... > image from camera", but I didn't see the point at all, it was much ...
    (alt.os.linux)
  • Re: The Linux Revolution: What Happened?
    ... > with a good graphic interface. ... even the text command is an ... from camera; start image viewer" or "copy images from camera to disk; ... photoshop, asks fotoshop to resize the photo, and sends it. ...
    (alt.os.linux)
  • Re: The Linux Revolution: What Happened?
    ... > with a good graphic interface. ... even the text command is an ... from camera; start image viewer" or "copy images from camera to disk; ... photoshop, asks fotoshop to resize the photo, and sends it. ...
    (comp.os.linux.misc)