5 ms·
Dude, you didn't describe MVC at all, but MMVC. MVC, the controller is the intermediary between the services/data models, and the views. That still one of th
by ardit33 2mo ago
Dude, you didn't describe MVC at all, but MMVC.
MVC, the controller is the intermediary between the services/data models, and the views.
That still one of the best / simplest way to build large apps. MMVC is just a variation of it, with the models being able to communicate state to views and bypass controller if needed.
MVC, is still one of those 'fundemental as simple as it gets, and it gets the job done' patterns.
- mpweiher 2mo agoDude, what I describe is exactly MVC. Your interpretation is a common misconception, for example promulgated by Apple. It is not MVC. https://blog.metaobject.com/2015/04/model-widget-controller-mwc-aka-apple.html https://blog.metaobject.com/2015/04/model-widget-controller-... https://blog.metaobject.com/2017/03/concept-shadowing-and-capture-in-mvc.html https://blog.metaobject.com/2017/03/concept-shadowing-and-ca... "A view is attached to its model (or model part) and gets the data necessary for the presentation from the model by asking questions. " https://web.archive.org/web/20090424042645/http://heim.ifi.uio.no/~trygver/1979/mvc-2/1979-12-MVC.pdf https://web.archive.org/web/20090424042645/http://heim.ifi.u...