Re:Avoiding Event Chains in Single Page Applications
by regularfry on Sunday August 31, 2014 @01:48PM
(#8249854)
This makes sense. I've thought for a while that separating commands and events was the right thing to do, even if they use the same distribution mechanism.
So think about opening up a file in a web editor, that's an action. Many things might care about when a file is opened. The tab UI, maybe a log, other users connected to your session. Sometimes views correlate well to model updates, like a form, but many times they do not in which case a different event type can be useful.