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:

    1. Data Model: Any applications interact with the database.
    2. Business Model: Work with Data Model and save data in database.
    3. 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.
    1. ASPX View Engine
    2. 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的更多相关文章

  1. Model View Controller(MVC) in PHP

    The model view controller pattern is the most used pattern for today’s world web applications. It ha ...

  2. MVC模式(Model View Controller)下实现数据库的连接,对数据的删,查操作

    MVC模式(Model View Controller): Model:DAO模型 View:JSP  在页面上填写java代码实现显示 Controller:Servlet 重定向和请求的转发: 若 ...

  3. MVC(Model View Controller)框架

    MVC框架 同义词 MVC一般指MVC框架 MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用一 ...

  4. 深入浅出Java MVC(Model View Controller) ---- (JSP + servlet + javabean实例)

    在DRP中终于接触到了MVC,感触是确实这样的架构系统灵活性不少,现在感触最深的就是使用tomcat作为服务器发布比IIS好多了,起码发布很简单,使用起来方便. 首先来简单的学习一下MVC的基础知识, ...

  5. 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 ...

  6. Model View Controller

    On the iPhone or iPod touch, a modal view controller takes over the entire screen. This is the defau ...

  7. 设计模式 --- 模型-视图-控制器(Model View Controller)

    模型-视图-控制器(Model-View-Controller,MVC)是Xerox PARC在20世纪80年代为编程语言Smalltalk-80发明的一种软件设计模式,至今已广泛应用于用户交互应用程 ...

  8. MVC4 Model View Controller分离成独立项目

    适合人群:了解MVC项目的程序员 开发工具:vs2012 开发语言:C# 小项目或功能比较单一的项目可以直接新建一个MVC基本项目类型即可,但随着需求不断迭代,项目的功能模块越来越多,甚至有些模块可以 ...

  9. Qt Model/View(官方翻译,图文并茂)

    http://doc.trolltech.com/main-snapshot/model-view-programming.html 介绍 Qt 4推出了一组新的item view类,它们使用mode ...

随机推荐

  1. mysql 存储过程 事务处理 (转)

    BEGIN DECLARE t_error INTEGER DEFAULT 0;  DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET t_error=1; S ...

  2. 洛谷 1365 WJMZBMR打osu! / Easy

    题目:https://www.luogu.org/problemnew/show/P1365 大水题.记录一下o的期望长度. 关键是(x+1)^2=x^2+2*x+1. #include<ios ...

  3. TableView刷新 局部刷新等

    1.对整个页面刷新 [ tableView reloadData]; 2.对某一个section刷新 NSIndexSet *indexSet=[[NSIndexSet alloc]initWithI ...

  4. json and pickle 序列化和反序列化

    类似vmware虚拟机里的虚拟主机挂起操作,把当前内存拷贝成文件保存. 上面的这种操作就叫内存序列化:如下图: 有序列化就有反序列化,要把文件里的东西再恢复成字典:eval把字符串变成字典. 但是上面 ...

  5. 二进制(signed or unsigned)补码

    在计算机系统中,数值一律用补码来表示(存储). 主要原因:使用补码,可以将符号位和其它位统一处理:同时,减法也可按加法来处理.另外,两个用补 码表示的数相加时,如果最高位(符号位)有进位,则进位被舍弃 ...

  6. WEB前端必备掌握知识

    1.跨域: 跨域问题是由于javascript语言安全限制中的同源策略造成的.

  7. linux进程的问题

    #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <pthread.h& ...

  8. C# 泛型类型参数的约束

    在定义泛型类时,可以对客户端代码能够在实例化类时用于类型参数的类型种类施加限制.如果客户端代码尝试使用某个约束所不允许的类型来实例化类,则会产生编译时错误.这些限制称为约束.约束是使用 where 上 ...

  9. Asp.net 动态添加Meta标签

    下面代码动态设置浏览器文档模式 HtmlHead head = (HtmlHead)Page.Header; HtmlMeta contentType = new HtmlMeta();//显示字符集 ...

  10. NODEJS网站

    nodejs https://nodejs.org/en/ nodejs官网 http://nodeapi.ucdok.com/#/api/ nodejs手册 https://www.npmjs.co ...