- ASP.NET MVC 4 Mobile App Development
- Andy Meadows
- 171字
- 2021-08-13 16:48:10
The Model-View-Controller pattern
Each component of the MVC pattern fills a very specific purpose in separating data within an application from user interaction with the data. The following is a very brief introduction to the components of the MVC design pattern.
The controller
In the MVC pattern, the controller acts as a delegator. It submits modifications to the model on behalf of some external interaction (typically a user), and retrieves data for a view as the result of a notification or direct request via user interaction.
The view
Views handle the presentation of the data to some external entity. If a view contains logic, that logic is limited to the presentation of the data it received from the controller as the result of an interaction with the model.
The model
The model is the encapsulation of application-specific data, and the means by which to store, retrieve, and maintain the integrity of that data. The model may or may not mimic the structure in which the actual data is stored or presented.
- The Complete Rust Programming Reference Guide
- 數據庫系統教程(第2版)
- Pandas Cookbook
- 架構不再難(全5冊)
- Vue.js入門與商城開發實戰
- Network Automation Cookbook
- Julia Cookbook
- Mastering JavaScript High Performance
- Mobile Device Exploitation Cookbook
- 深入解析Java編譯器:源碼剖析與實例詳解
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)
- Test-Driven iOS Development with Swift
- Spring Microservices
- Visual C++網絡編程教程(Visual Studio 2010平臺)
- 面向對象程序設計教程(C#版)