Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



MVC design pattern


Home  > ASP.NET  > MVC  > MVC design pattern 
       
Here is a diagram showing mvc design pattern. 



MVC Design pattern or archtectureal pattern is not a replacement for web form. Its only an alternate technology which use form and postback. 

In MVC Architecuter. Model  (Business Logic  & Data), View ( User Interface  ) &  Controller ( Input/Output ) are loosely coupled. 

      Models. Model objects are the parts of the application that implement the logic for the application's data domain. Often, model objects retrieve and store model state in a database. For example, a Product object might retrieve information from a database, operate on it, and then write updated information back to a Products table in a SQL Server database.
      In small applications, the model is often a conceptual separation instead of a physical one. For example, if the application only reads a dataset and sends it to the view, the application does not have a physical model layer and associated classes. In that case, the dataset takes on the role of a model object.

      Views. Views are the components that display the application's user interface (UI). Typically, this UI is created from the model data. An example would be an edit view of a Products table that displays text boxes, drop-down lists, and check boxes based on the current state of a Product object.
      Controllers. Controllers are the components that handle user interaction, work with the model, and ultimately select a view to render that displays UI. In an MVC application, the view only displays information; the controller handles and responds to user input and interaction. For example, the controller handles query-string values, and passes these values to the model, which in turn might use these values to query the database.

The MVC pattern helps you create applications that separate the different aspects of the application (input logic, business logic, and UI logic), while providing a loose coupling between these elements. The pattern specifies where each kind of logic should be located in the application. The UI logic belongs in the view. Input logic belongs in the controller. Business logic belongs in the model. This separation helps you manage complexity when you build an application, because it enables you to focus on one aspect of the implementation at a time. For example, you can focus on the view without depending on the business logic.

The loose coupling between the three main components of an MVC application also promotes parallel development. For example, one developer can work on the view, a second developer can work on the controller logic, and a third developer can focus on the business logic in the model.
index

mvc combobox ajax

What is MVC

MVC design pattern

Advantages of an MVC Based Web Application

Advantages of a Web Forms Based Web Application

Features of the ASP.NET MVC Framework

common used mvc namespace or mvc classes

mvc ActionLink return value from a textbox

MVC What does controller do

mvc how http request is processed

mvc Action Methods

MVC Return Types of mvc function or Action Retrun Types of an Action Method

mvc NonActionAttribute

MVC Partial Views

Helper Classes and Members for Rendering Views

What is MVC ViewDataDictionary

What is MVC Model

MVC Routing

MVC Helper Methods

mvc ActionLink

mvc routeValues

mvc what is reflection

asp net mvc passing data between controllers views and action methods

Create Mvc view by rendering data from differenet action methods

asp.net mvc dropdownlist example

How to publish MVC Application on web

mvc dropdownlist get selected text

asp .net mvc populate a dropdownlist from DataSet

asp .net mvc create a list selectlist from DataSet

asp .net mvc select options dropdownlist

Works on local machine System.ArgumentException Format of the initialization string does not conform to specification starting at index

mvc session timeout

iis mvc displays directory list and not application

iis mvc HTTP Error 50019 Internal Server Error section is locked at a parent level overrideMode

iis mvc error Could not load file or assembly System.Web.Mvc Version 2.0.0.0

SETTING UP THE DATABASE FOR MEMBERSHIP AUTHENTICATION IN MVC

One or more validation errors were detected during model generation

mvc authorize attribute does not store persist post data

asp .net mvc captcha

mvc Class Persistance Postback

Charts & Graphs Jquery plugin

Html.EditorFor Adding HTML Attributes



  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  PHP   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam