.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Articles >> .Net Framework >> Post New Resource Bookmark and Share   

 Subscribe to Articles

MVC Pattern

Posted By:Athira Sreejith       Posted Date: December 31, 2008    Points: 10    Category: .Net Framework    URL: http://www.dotnetspark.com  

What is MVC Pattern:

The main purpose of using MVC pattern is to decouple the GUIfrom the Data.
It also gives the ability to provide multiple views for the same data.MV pattern separates in to three important sections.

> Model: this section is specially for maintaining data.It is actually where yourbusiness logic,querying database,database connection etc.is actually implemented.

>Views: Displaying all or some portions of data,or probably different vciew of data.
View is responsible for look and feel,sorting,formatting etc.

>Controller: In ASP.NET the behind code is the controller as the evetns are hendled by that part.Controller communicates both with Model as well as with View.



 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend