Mvc pattern, DOT NET Programming

What is MVC pattern?

The main purpose  of using  the MVC pattern is to decouple the GUI from the Data. It also gives the ability to provide multiple views for the same Data. The  MVC pattern separates objects into 3 important parts:-

Model: - This part  is specially for maintaining the data. It is actually where your database connection, business logic, querying database etc. is actually implemented.

Views: - Displaying all or some parts  of the data, or probably different view of the data. The View is responsible for look and feel, formatting, Sorting etc.

Controller: - They are the event handling part which affects either the model or the view. The Controller responds to the mouse or keyboard i/p to command model and view to change. The Controllers are associated with the views. The User interaction triggers the events to change the model, which in turn calls few  methods of model to update its state to notify other registered views to refresh their display.

The various sections of ASP.NET are shown below  which maps to MVC sections:-

Model: - This part  is represented by business entity models,Typed Dataset,Data view,Business components ,Dataset etc. Then this part can then be tied up to either windows application or web UI.

View: - The ASCX,  ASPX, or windows application UI such as  data grid and so on , form the view part of it.

Controller: - In the ASP.NET the behind code is the controller as the events are handled by that area  . The Controller communicates both with Model as well as the view.

882_MVC pattern.png

Figure: - Data flow between MVC architectures.

Posted Date: 9/22/2012 6:13:35 AM | Location : United States







Related Discussions:- Mvc pattern, Assignment Help, Ask Question on Mvc pattern, Get Answer, Expert's Help, Mvc pattern Discussions

Write discussion on Mvc pattern
Your posts are moderated
Related Questions
Project Description: I am seeking some automated trading software for the given strategy, I am using Omnesys Nest trader Step 1: Buy one share at current market price (ex:

We need vb.net windows application programmer with min six years exp to work on our email marketing project Project Description: We need a windows application vb.net programm

how can we use entity framework in ASP.Net MVC

What are the features of ADO.Net ?  ADO.NET features: 1. Disconnected Data Architecture 2. Data cached in Datasets 3. Data transfer in XML format 4. Interaction wit

What is RAID and how does it work? The Redundant Array of Independent Disks (RAID) is a term used for describing the technique of improving data availability through the use of

Finding Maximum & Minimum Numbers - C# Program I am facing some problems in the code for Finding Maximum & Minimum Numbers. Can anybody suggest me the proper code for it.

how can i construct er diagram for payroll managment

What are satellite assemblies? We use resource files to store data according to the localized languages. But when you actually go for the deployment you will not like to also i

What is a Manifest?  An assembly manifest have all the metadata needed to specify the assembly's version requirements and security identity, and all metadata required to define

Project Description: Take a CSV of Canadian street addresses. For every address, translate the address into a GPS coordinate. Use the GPS coordinate to test whether or not the a