- 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.
- Web程序設計及應用
- TypeScript Essentials
- Facebook Application Development with Graph API Cookbook
- Debian 7:System Administration Best Practices
- Learning Informatica PowerCenter 10.x(Second Edition)
- The Complete Coding Interview Guide in Java
- Mastering Android Development with Kotlin
- Learning Concurrent Programming in Scala
- 蘋果的產品設計之道:創建優秀產品、服務和用戶體驗的七個原則
- 微服務架構深度解析:原理、實踐與進階
- ExtJS Web應用程序開發指南第2版
- JavaScript程序設計:基礎·PHP·XML
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- 透視C#核心技術:系統架構及移動端開發
- Backbone.js Patterns and Best Practices