Browse Definitions :
Definition

model-view-controller (MVC)

This definition is part of our Essential Guide: SOA tutorial: Trends, governance and the microservice impact

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

  • Whistleblower Protection Act

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

  • smart contract

    A smart contract, also known as a cryptocontract, is a computer program that directly controls the transfer of digital currencies...

  • risk map (risk heat map)

    A risk map, also known as a risk heat map, is a data visualization tool for communicating specific risks an organization faces. A...

SearchSecurity

  • certificate authority (CA)

    A certificate authority (CA) is a trusted entity that issues digital certificates, which are data files used to cryptographically...

  • hacktivism

    Hacktivism is the act of hacking, or breaking into a computer system, for a politically or socially motivated purpose.

  • advanced persistent threat (APT)

    An advanced persistent threat (APT) is a prolonged and targeted cyberattack in which an intruder gains access to a network and ...

SearchHealthIT

  • Cerner Corp.

    Cerner Corp. is a public company in North Kansas City, Mo., that provides various health information technologies, ranging from ...

  • clinical decision support system (CDSS)

    A clinical decision support system (CDSS) is an application that analyzes data to help healthcare providers make decisions and ...

  • Health IT (health information technology)

    Health IT (health information technology) is the area of IT involving the design, development, creation, use and maintenance of ...

SearchDisasterRecovery

  • tabletop exercise (TTX)

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

  • risk mitigation

    Risk mitigation is a strategy to prepare for and lessen the effects of threats faced by a data center.

  • ransomware recovery

    Ransomware recovery is the process of resuming options following a cyberattack that demands payment in exchange for unlocking ...

SearchStorage

  • SSD (solid-state drive)

    An SSD (solid-state drive) is a type of nonvolatile storage media that stores persistent data on solid-state flash memory.

  • file system

    In a computer, a file system -- sometimes written filesystem -- is the way in which files are named and where they are placed ...

  • storage virtualization

    Storage virtualization is the pooling of physical storage from multiple storage devices into what appears to be a single storage ...

Close