Browse Definitions :
Definition

model-view-controller (MVC)

This definition is part of our Essential Guide: Essential Guide: The latest on enterprise architecture strategy

In object-oriented programming development, model-view-controller (MVC) is the name of a methodology or design pattern for successfully and efficiently relating the user interface to underlying data models. The MVC pattern is widely used in program development with programming languages such as Java, Smalltalk, C, and C++.

The MVC pattern has been heralded by many developers as a useful pattern for the reuse of object code and a pattern that allows them to significantly reduce the time it takes to develop applications with user interfaces.

The model-view-controller pattern proposes three main components or objects to be used in software development:

  • A Model , which represents the underlying, logical structure of data in a software application and the high-level class associated with it. This object model does not contain any information about the user interface.
  • A View , which is a collection of classes representing the elements in the user interface (all of the things the user can see and respond to on the screen, such as buttons, display boxes, and so forth)
  • A Controller , which represents the classes connecting the model and the view, and is used to communicate between classes in the model and view.
This was last updated in March 2011

Join the conversation

5 comments

Send me notifications when other members comment.

Please create a username to comment.

very nice dude....
i have also found one good example here
<a href="http://androidexample.com/Use_MVC_Pattern_To_Create_Very_Basic_Shopping_Cart__-_Android_Example/index.php?view=article_discription&aid=116&aaid=138">
Use MVC Pattern To Create Very Basic Shopping Cart - Android Example
</a>
Cancel
Please define Dependency Injection and Inversion of control with example.
Cancel
Explanation of Routing in Asp.Net MVC.
Cancel
Sorry, but Design Patterns are for idiots. First all, any good programmer know you NEVER use 3 letter acronyms. They are way to short, abstract, and confusing. Programmers were forced to use in the distant past, but there no longer is any excuse. Nor does Model View Controller fit or apply to historical precedent. A user interface is implemented by event handlers. No other label is appropriate. MVC is just BS.
Cancel
No, Model View Controller is NOT object oriented programming at all, and in fact is not even good programming.
Model View Controller comes from Design Patterns, which is a highly controversial and now largely discredited fad.
The Model View Controller us usually abbreviated as MVC, and that alone shows it is not programming, because good programmers stopped abbreviating to acronyms decades ago.
What Model View Controller ACTUALLY is about is event handlers to deal with user input to data. But the name is awful, unintuitive, and completely ignores and breaks from standard programming traditions and methodologies.
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchCompliance

  • compliance audit

    A compliance audit is a comprehensive review of an organization's adherence to regulatory guidelines.

  • regulatory compliance

    Regulatory compliance is an organization's adherence to laws, regulations, guidelines and specifications relevant to its business...

  • Whistleblower Protection Act

    The Whistleblower Protection Act of 1989 is a law that protects federal government employees in the United States from ...

SearchSecurity

  • RSA algorithm (Rivest-Shamir-Adleman)

    The RSA algorithm is the basis of a cryptosystem -- a suite of cryptographic algorithms that are used for specific security ...

  • remote access

    Remote access is the ability to access a computer or a network remotely through a network connection.

  • IP Spoofing

    IP spoofing is the crafting of Internet Protocol (IP) packets with a source IP address that has been modified to impersonate ...

SearchHealthIT

SearchDisasterRecovery

  • network disaster recovery plan

    A network disaster recovery plan is a set of procedures designed to prepare an organization to respond to an interruption of ...

  • virtual disaster recovery

    Virtual disaster recovery is a type of DR that typically involves replication and allows a user to fail over to virtualized ...

  • tabletop exercise (TTX)

    A tabletop exercise (TTX) is a disaster preparedness activity that takes participants through the process of dealing with a ...

SearchStorage

  • enterprise storage

    Enterprise storage is a centralized repository for business information that provides common data management, protection and data...

  • disk array

    A disk array, also called a storage array, is a data storage system used for block-based storage, file-based storage or object ...

  • optical storage

    Optical storage is any storage type in which data is written and read with a laser. Typically, data is written to optical media, ...

Close