MVC is the component mode that is displayed to users in the front-end presentation mode (UI/presentation pattern). The three-tier architecture is the architecture mode;
Model: A component used to store data;
View: displays components based on the data stored in the model. obtains the status of the model;
Controler: accepts and processes user commands to operate the model and selects a vierw output content for view and model collaboration. It is the monetization logic, not the business logic, but can be used as the business logic;
Two types of MVC separation:
1. View and model separation: different views can be developed for the same model for presentation, and independent tests can be performed for the model;
2. Separation of view and controler: Independent Test of logic;
The MVC presentation mode can be referenced in the architecture pattern, which is not comparable to the architecture pattern.
ASP. netmvc is another option for developing webform on the Asp.net platform. Due to its advantages and disadvantages, it cannot replace webforms development.
MVC and three-tier structure:
UI Layer: View controler
------------
BL layer: Model
------------
DL layer:
The performance bottleneck of web development is mainly reflected in the access to the database: optimize database operations, optimize cache, rather than the UI