News for hackers. Stuff that matters.
Re:Avoiding Event Chains in Single Page Applications by btipling on Sunday August 31, 2014 @10:17AM (#8249338)
At floobits we use "actions" in addition to model events for our flux like implementation. Views trigger usually actions, modifying models triggers events on the model. Views in themselves do not usually trigger model updates.

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.

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.