The MVC design pattern consists of two main parts:
- presentation level
- model layer
The presentation layer provides users with the ability to interact with the model layer, while the model layer contains all the business logic and its associated task.
A model is not a class or object. Instead, it contains several groups of structures, each of which has a different aspect of the domain’s business logic as its responsibility. You can read a longer explanation here .
The presentation layer is mainly divided based on how it interacts with the model layer. We can say that the controllers "write" at the model level (through services) and see the "read".
The simplest part of the entire MVC design pattern (and other MVC-based patterns) should be the controller. They take user input and are based on this change in the state of the model layer. They can also change views, but when MVC is applied to the network, this is the exception rather than the rule.
As for the views - I'm still trying to understand them. What I just got can be read here.
Note. There is a serious lack of material for implementing views when they are applied to the Web. Since the platform is completely different compared to desktop applications, it is impossible to directly transform the same recommendations. And I did not find any wireframe related materials on this subject that focused on creating views for the Web.
source share