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

Why is action servlet a singleton in struts?

793


What is the forward action utilized for?

744


Explain about the tag?

815


Are interceptors and filters different?

741


Can a reducer dispatch an action?

701


What is http forward?

712


Which tag is used to declare constants in struts xml?

661


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

720


What inbuilt themes are provided by struts2?

775


What is the purpose of @beforeresult annotation?

753


What is the struts in java?

687


What is use of i18n interceptor?

719


What is the difference between struts1 and struts2?

709


What are the steps required for setting up validator framework in struts?

752


What are the benefits of the struts system?

759