Re: Command pattern: Interaction allowed?
- From: "Nacho Facello" <nacho222@xxxxxxxxx>
- Date: 22 Nov 2006 10:00:31 -0800
tailorma_de ha escrito:
It is perfectly OK to have the U/I present the dialog BEFORE calling the
command. In other words, the command is called by the U/I when the U/I is
certain that it wants the command to occur, and not before.
Aha, interesting. I didn't expect this answer. But don't you encounter
cases where this gets disadvantageous? Because of too much logic within
the UI? Consider also multiple UIs.
IMHO, multiple UIs will have different ideas on when to ask
confirmation.
An interface where to, for example, delete an item you have to press a
key might find it necesary to confirm the action, whereas an interface
where you have to select the item, then click a button, might assume
that doing all that shows enough intention to do the deletion on the
part of the user.
.
- References:
- Command pattern: Interaction allowed?
- From: tailorma_de
- Re: Command pattern: Interaction allowed?
- From: Nick Malik [Microsoft]
- Re: Command pattern: Interaction allowed?
- From: tailorma_de
- Command pattern: Interaction allowed?
- Prev by Date: Re: Howto model decoupled hierarchies?
- Next by Date: Re: Howto model decoupled hierarchies?
- Previous by thread: Re: Command pattern: Interaction allowed?
- Next by thread: Re: Command pattern: Interaction allowed?
- Index(es):