Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is MVC Architecture?

Answer Posted / shiva

Model–View–Controller (MVC) is a software architecture ,
currently considered an architectural pattern used in
software engineering. The pattern isolates "domain logic"
(the application logic for the user) from input and
presentation (GUI), permitting independent development,
testing and maintenance of each.
The model is the domain-specific representation of the data
upon which the application operates. Domain logic adds
meaning to raw data (for example, calculating whether today
is the user's birthday, or the totals, taxes, and shipping
charges for shopping cart items). When a model changes its
state, it notifies its associated views so they can refresh.
Many applications use a persistent storage mechanism such as
a database to store data. MVC does not specifically mention
the data access layer because it is understood to be
underneath or encapsulated by the model. Models are not data
access objects; however, in very simple apps that have
little domain logic there is no real distinction to be made.
Also, the ActiveRecord is an accepted design pattern which
merges domain logic and data access code - a model which
knows how to persist itself.
The view renders the model into a form suitable for
interaction, typically a user interface element. Multiple
views can exist for a single model for different purposes.
The controller receives input and initiates a response by
making calls on model objects.
An MVC application may be a collection of
model/view/controller triplets, each responsible for a
different UI element.
MVC is often seen in web applications where the view is the
HTML or XHTML generated by the app. The controller receives
GET or POST input and decides what to do with it, handing
over to domain objects (i.e. the model) that contain the
business rules and know how to carry out specific tasks such
as processing a new subscription.

Is This Answer Correct ?    4 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many servlet controllers are used in a Struts Application?

1078


What is the purpose of @doublerangefieldvalidator?

1012


What are the struts2 configuration properties that control file uploading process?

1060


How can link tag’s action attribute be used?

882


When should be opt for struts framework?

976


What does it cost to replace struts?

916


What are the some useful annotations introduced in struts2?

937


What is the struts in java?

883


What is the need of struts?

925


What is the default location of result pages and how can we change it?

959


What configurations are stored in struts configuration file ?

943


How do you convert struts to springs?

974


What is struts framework in java?

896


What do you mean by actionmapping?

930


Explain the core end goal while using java struts?

881