or Create a profile
Robotlegs 1 →
09 Jul, 2012 09:49 PM
I'm reading up on commands and am a little confused by something
in one of the articles. It states:
Commands are appropriate for communication between application
tiers and are able to send system events that will either launch
other Commands or be received by a Mediator to perform work on a
View Component in response to the event
Maybe it's fatigue, but I'm not quite grasping what it means for
a mediator to receive a command. I thought commands get triggered
by events sent from actors other than views, but how would an
actor, specifically a mediator, receive a command?
2 Posted by Shaun Smith on 09 Jul, 2012 09:56 PM
Maybe the wording is bad, but it should be read like this:
"able to send system events that will either launch
other Commands or be received by a Mediator"
In other words, the events would be received by the Mediator.
Hope that helps.
3 Posted by kerry.kim.russo on 10 Jul, 2012 12:17 PM
Ohok, so the command itself would dispatch a system event that a
mediator would capture. I'm not sure if that was fatigue or oddly
worded, or some combination of the two but thanks for
kerry.kim.russo closed this discussion
on 10 Jul, 2012 12:17 PM.
Comments are currently closed for this discussion.
You can start a new one.
2 people watching.
No more actions from Robotlegs or the discussion starter are required.
This discussion is private.
Only you and Robotlegs support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.