News for hackers. Stuff that matters.
Re:MVC is dead, it's time to MOVE on (2012) by joeheyming on Thursday September 12, 2013 @02:41PM (#6376066)
I like to think that its not model view controller, but instead model-view-behavior (or the strategy pattern)

Events are a given. Models can fire/handle events, views can fire/handle events. The behavior/strategy pattern is just a bunch of singleton objects that know how to mediate between the view and the model. Sometimes the behavior pattern handles events (as a strategy), but it doesn't fire events (only the model and view can do that).

The model knows how to generate the behavior. The View contains the behavior and asks the behavior questions with the model.

This separates responsibilities nicely in my opinion.

There are no comments on this comment yet.