3 ms·
Controller = Operations + Events Ben Jaffe of Udacity cally is MVO where O = Octopus. Basically, as the author points out, Models and Views are relatively well
by omarhaneef 7y ago
Controller = Operations + Events
Ben Jaffe of Udacity cally is MVO where O = Octopus.
Basically, as the author points out, Models and Views are relatively well defined, but the Controller can be anything. Octopus, ViewModel, or in this case Operations and Events.
I do think Operations and Events are clear, but
1. are they comprehensive and
2. do they organize the code more intuitively?
It seems like you would want to put them in the same place since Events will trigger operations that operate on the model and the view. Sort of like a controller... oh, wait.