Alan Freedman -- The Computer Language Company - Computer Desktop Encyclopedia
Computer Desktop Encyclopedia
Longest-Running Tech Reference on the Planet

A CDE Definition

You'll love The Computer Desktop Encyclopedia (CDE) for Tech Term of the Day (TTOD)

LOOK UP ANOTHER TERM


model-view-controller

An architecture for building applications that separates the logic and data (model), the user interface (view) and processing (controller). The model-view-controller (MVC) method is widely used in Web-based application frameworks, in which case the model and controller functions are executed in the server, and the view is executed in the browser.

Component Interaction
The model is a database that holds the business logic and application data, and the controller interacts directly with the model to modify the view.

The view manages the presentation to the user, while the controller accepts input from the user through forms, clicks and other interactions with the page and customizes the view based on the model.

Views and Controllers May Be Combined
In non-Web applications, 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. See Struts.



Struts

A framework for writing Web-based applications in Java that supports the model-view-controller (MVC) architecture. Struts is deployed as JSP pages using special tags from the Struts tag library, which includes routines for building forms, HTML rendering, storing and retrieving data and business logic. See JSP, model-view-controller and application framework.



Personal Use Only

Before/After Your Search Term
BeforeAfter
modal bandwidthmodeling
modal dispersionmodem
Modbusmodem bonding
moddedmodem eliminator
moddermodem hijacking
moddingmodem lights
modemodem on hold
mode of operationmodem PC Card
modelmodem pool
model-based expert systemmodem/router

Terms By Topic
Click any of the following categories for a list of fundamental terms.
Computer Words You Gotta KnowSystem design
Job categoriesUnix/Linux
Interesting stuffPersonal computers
InternetIndustrial Automation/Process Control
Communications & networkingAssociations/Standards organizations
HistoryDesktop publishing
Audio/VideoGraphics
MainframesSecurity
ProgrammingHealthcare IT
System design