MVC - Model-View-Controller - is a design pattern for the architecture of web applications. It is a widely adopted pattern, across many languages and implementation frameworks, whose purpose is to achieve a clean separation between three components of most any web application:
(Model View Controller) an Architecture for building applications that separate the data (model) from the user interface (view) and the processing (controller). Providing a programming interface between the data and the processing has been a primary concept in information technology for decades. MVC is widely used in Web-based application frameworks. The clear separation between the Model, View and Controller helps the maintenance of existing applications, as we can change any component without affecting other two as the three are independent. This architecture helps in reusing existing components for make new applications.
In practice, MVC views and controllers are often combined into a single object because they are closely related. For example, the controller code validates a request for data and causes it to be returned in a view. View-controller objects are tied to only one model; however, a model can have many view-controller objects associated with it.
Model: business logic & processing
View: user interface (UI)
Controller: navigation & input
Saturday, November 8, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment