MVC webcast Study Notes

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.