Model View Controller (MVC) Overview
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.
Model View Controller (MVC) Overview的更多相关文章
- Model View Controller(MVC) in PHP
The model view controller pattern is the most used pattern for today’s world web applications. It ha ...
- MVC模式(Model View Controller)下实现数据库的连接,对数据的删,查操作
MVC模式(Model View Controller): Model:DAO模型 View:JSP 在页面上填写java代码实现显示 Controller:Servlet 重定向和请求的转发: 若 ...
- MVC(Model View Controller)框架
MVC框架 同义词 MVC一般指MVC框架 MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用一 ...
- 深入浅出Java MVC(Model View Controller) ---- (JSP + servlet + javabean实例)
在DRP中终于接触到了MVC,感触是确实这样的架构系统灵活性不少,现在感触最深的就是使用tomcat作为服务器发布比IIS好多了,起码发布很简单,使用起来方便. 首先来简单的学习一下MVC的基础知识, ...
- What is the difference between Reactjs and Rxjs?--React is the V (View) in MVC (Model/View/Controller).
This is really different, React is view library; and Rxjs is reactive programming library for javasc ...
- Model View Controller
On the iPhone or iPod touch, a modal view controller takes over the entire screen. This is the defau ...
- 设计模式 --- 模型-视图-控制器(Model View Controller)
模型-视图-控制器(Model-View-Controller,MVC)是Xerox PARC在20世纪80年代为编程语言Smalltalk-80发明的一种软件设计模式,至今已广泛应用于用户交互应用程 ...
- MVC4 Model View Controller分离成独立项目
适合人群:了解MVC项目的程序员 开发工具:vs2012 开发语言:C# 小项目或功能比较单一的项目可以直接新建一个MVC基本项目类型即可,但随着需求不断迭代,项目的功能模块越来越多,甚至有些模块可以 ...
- Qt Model/View(官方翻译,图文并茂)
http://doc.trolltech.com/main-snapshot/model-view-programming.html 介绍 Qt 4推出了一组新的item view类,它们使用mode ...
随机推荐
- 百度分享和bshare
社会法社交分享组件bshare http://www.bshare.cn/ 百度share也不错
- 三种实现Ajax的方式
本文主要是比较三种实现Ajax的方式 1. prototype.js 2. jquery1.3.2.min.js 3. json2.js Java代码 收藏代码 后台处理程序(Servlet),访问路 ...
- 老齐python-基础1
1.基本对象类型 1.1数: >>> 3 #基本数字 3 >>> 3333 3333 >>> 3.222 3.222 >>&g ...
- Nginx httpS server配置
Nginx httpS 配置 配置同时支持http和httpS协议: server { listen ; #backlog:每个网络接口接收数据包的速率比内核处理这些包的速率快时,允许送到队列的数据包 ...
- VMware网络模式介绍
VMWare提供了三种工作模式,它们是bridged(桥接模式).NAT(网络地址转换模式)和host-only(主机模式). Bridged 模式: 在桥接模式下,VMware虚拟机里的系统就像是 ...
- 把OnDraw和OnPaint弄清楚(转贴)
OnDraw()和OnPaint()兄弟 经常有朋友问雷神这样的问题:我在视图画的图象或者文字,当窗口改变后为什么不见了?OnDraw()和OnPaint()两个都是解决上面的问题,有什么不同? 雷神 ...
- 使用阿里云服务器(OOS)实现图片上传
一: 页面 <%@ page language="java" contentType="text/html; charset=utf-8" pageEnc ...
- shell编程中用户输入处理(shell 04)
shell编程中用户输入处理1.命令行参数2.脚本运行时获取输入 命令行参数 通过空格来进行分割的位置参数 :$+position $0,$1,$2 ....$0 :程序名$1,$2,$3 ... $ ...
- python中shuffleSplit()函数
参数: n : int 数据集中的元素总数. n_iter : int (default 10) 重新洗牌和分裂迭代次数. test_size : float (default 0.1), int, ...
- oracle xe远程访问
oracle xe其实监听了1521端口 netstat -ano|findstr 只是没请求防火墙权限而已. 手动打开防火墙1521端口 管理员运行下面的命令 本机环境win10 netsh adv ...