Is MVC Really a Quadrangle?

Is it just me or is MVC really a Model-View / Controller-View View-Model / Controller-Model with two separate controllers? alt text http://www.hupcapstudios.com/projects/mvc/mvcvmc.gif

+3
source share
4 answers

All these are just the flavors of a reseller template, unlike first-class templates. Thus, it is possible that two different tastes may have two different names.

+1
source

I think it often has two models: the base model of the model and the presentation model, but it usually only has one controller.

0
source

, , . MVVM ( WPF, , 2- ), , - ( ). , , ..

0

-

, -, / , /, /.

/ , , , , .

MVC . CS , , , , . , , . (, , ) , . MVC, . . True OO , , ( IO) . MVC , IO , , Controller , . . , , , . MVC , , , : , , , , , , , , - . 6 , , , MVC, Event based .
: define , , , , , /, , / .

MVC is more a methodology for pairing objects in a system than a β€œbetter way to program”. This is inherently a hierarchical system with a controller at the top when the real work is done on the algorithmic code. Perhaps the best model for some tasks is that the model should be its own controller and work directly with I / O code (views) instead of the average level of processing objects.

0
source

Source: https://habr.com/ru/post/1738398/


All Articles