Model View Controller (MVC) Overview
2015-11-04 11:56
155 查看
By Rakesh Chavda on Jul 01, 2015
What is MVC?
Model View Controller is a type of user interface architectural application. There are three parts of the MVC and each part has his specific work.
1. Model
All data related work in this part.
It is used for data transfer between view and controller.
Model has main three parts:
Data Model: Any applications interact with the database.
Business Model: Work with Data Model and save data in database.
View Model: Pass information from controller to view.
2. View
View means in simple word Action Part of application.
Two part of views are in ASP.NET MVC.
ASPX View Engine
Razor View Engine
This is User Interact Part.
Means it is a client or a customer side part.
3. Controller
Controller is work between view and model for business logic and request.
Controller is a working with a HTTP request from User Side.
MVC Information, Use and Benefit
MVC is a type of ASP.NET framework. In MVC framework any web application development use MODEL, VIEW and CONTROLLER. In this you are also using security, session, state management, etc. because MVC is a part of framework.
1: MVC
Many improvements were seen in this .NET Framework by Microsoft through its main purpose of designing, testing, maintainability, clean structure, etc.
Model is representing the application part and implements the data logic.
View is representing the User interface part and display data on browser using Controller part.
Controller is classes. In this part collect user Request.
Easy to manage and test because every functionality is a separated part of Model, View and Controller.
Some important features added in this framework:
ASP.NET Web API.
Default HTML5 templates for Visual Studio and Mobile Application.
Automatic selection of rendered views means application auto set in Desktop/Mobile/tablet browser.
jQuery Mobile.
Microsoft Windows Azure SDK support for deploying ASP.NET MVC applications to Windows Azure.
Social site authentication like Facebook.
I hope you are getting basic information about MVC. We will get more information in next article with some example.
What is MVC?
Model View Controller is a type of user interface architectural application. There are three parts of the MVC and each part has his specific work.
1. Model
All data related work in this part.
It is used for data transfer between view and controller.
Model has main three parts:
Data Model: Any applications interact with the database.
Business Model: Work with Data Model and save data in database.
View Model: Pass information from controller to view.
2. View
View means in simple word Action Part of application.
Two part of views are in ASP.NET MVC.
ASPX View Engine
Razor View Engine
This is User Interact Part.
Means it is a client or a customer side part.
3. Controller
Controller is work between view and model for business logic and request.
Controller is a working with a HTTP request from User Side.
MVC Information, Use and Benefit
MVC is a type of ASP.NET framework. In MVC framework any web application development use MODEL, VIEW and CONTROLLER. In this you are also using security, session, state management, etc. because MVC is a part of framework.
1: MVC
Many improvements were seen in this .NET Framework by Microsoft through its main purpose of designing, testing, maintainability, clean structure, etc.
Model is representing the application part and implements the data logic.
View is representing the User interface part and display data on browser using Controller part.
Controller is classes. In this part collect user Request.
Easy to manage and test because every functionality is a separated part of Model, View and Controller.
Some important features added in this framework:
ASP.NET Web API.
Default HTML5 templates for Visual Studio and Mobile Application.
Automatic selection of rendered views means application auto set in Desktop/Mobile/tablet browser.
jQuery Mobile.
Microsoft Windows Azure SDK support for deploying ASP.NET MVC applications to Windows Azure.
Social site authentication like Facebook.
I hope you are getting basic information about MVC. We will get more information in next article with some example.
相关文章推荐
- appium + python 环境搭建
- 常用接口定义02——DB与DR系列端口
- Oracle客户端显示乱码解决
- 第八章:拦截器——深入浅出学Spring Web MVC
- 访问系统相册
- 比较特殊的页面效果
- 拆分Spring配置文件
- iOS 多线程的解决方案
- 正则表达式入门
- CC2541、CC2640 SNV Flash 读写
- Excel中用VBA将根据列内容分割成多个工作表
- pandas groupby 最大最小值
- 第七章:视图解析器——深入浅出学Spring Web MVC
- 总结js开发中的问题
- CSS基础(01)
- iOS sqlite 工具类
- Spark Deeplearning4j 运行问题-“unable to load from [netlib-native_system-linux-x86_64.so]”
- svn的svnsync的同步工具
- 韩顺平Linux笔记(五)——javaee开发环境搭建
- iOS NSHttpCookiesStorage的使用