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
I require a visual basic (VB) app developer to enhance an existing application. There are very few manual inputs in the application which I need to be imported via excel file. E

What does Xml Validating Reader class do? The XmlTextReader class does not validate the contents of an XML source against a schema. The correctness of the XML documents can be

Project Description: Simple task on analysis svn and github .NET, PHP, Engineering, Software Architecture

I need Job Posting Software for Schools Project Description: I want to create a software program that will automatically post a job to multiple schools. Let me know if you

In which statement the LINQ query is executed? A LINQ query is executed in the For every statement in Visual Basic and in the for each statement in C#.

How to get Herarichal Data in Treeview control from sql server database in asp.net , can you provide the source code .

General Overview A number of organisations are using micro-blogging as a cost-effective way of communicating with customers, building online communities and releasing informatio

Image Generator (Ngen.exe) The Ngen.exe (Native Image Generator) allows you to run the JIT compiler on your assembly's MSIL and generate native machine code which is cached to

Wowza expert required Project Description: Seeking wowza expert to teach our webmaster. To provide: How configure wowza to live transcoder. How allow add live transc

I need a project which shows Paypal integration with ASP.net website We have events website written in C# and ASP.net. We want to integrate Paypal using API and have a full inte