What is MVC Architecture?

Answer Posted / punit agrahari

Model View Controller architecture (or pattern) allows us
to separate different parts of our applications into tiers
to fulfill this need.

MVC Overview
Model View Controller architecture aims to separate an
application into three parts:

Model: It is the business logic of an application. From an
object oriented perspective it would consist of a set of
classes that implement the critical functionality of an
application from a business point of view.

View: It can consist of every type of interface given to
the user. In ASP.NET the view is the set of web pages
presented by a web application.

Controller: This part of the architecture is the most
difficult to explain, hence the most difficult to implement
in many platforms. The controller is the object that allows
the manipulation of the view. Usually many applications
implement Model-Controller tiers that contain the business
logic along with the necessary code to manipulate a user
interface. In an ASP.NET application the controller is
implicitly represented by the code-behind or the server
side code that generates the HTML presented to the user.

Implementing MVC in ASP.NET
A basic diagram that would help us understand perfectly the
specific parts that implement the Model View Controller
architecture in an ASP.NET application is presented below:

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the different actions available in struts?

522


What is role of actionservlet?

544


How can we display all validation errors to user on jsp page?

625


What is the design role played by struts?

535


What is the purpose of @beforeresult?

582






What is the purpose of redirect result type?

551


What is the use of jsonvalidation in struts?

530


What are inner class and anonymous class?

525


What are construction struts?

493


Is struts 1 still supported?

491


Can explain about the validations and in your project where did u used the validations?

6353


What is interceptor in Struts2?

545


What do you mean by dynaactionform?

521


What are the loop holes of struts?

537


Which file is used by controller to get mapping information for request routing?

519