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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

  • 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...

  • internal audit (IA)

    An internal audit (IA) is an organizational initiative to monitor and analyze its own business operations in order to determine ...

SearchSecurity

SearchHealthIT

SearchDisasterRecovery

  • incident management plan (IMP)

    An incident management plan (IMP), sometimes called an incident response plan or emergency management plan, is a document that ...

  • crisis communication

    Crisis communication is a method of corresponding with people and organizations during a disruptive event to provide them with ...

  • Zerto

    Zerto is a storage software vendor that specializes in enterprise-class business continuity and disaster recovery in virtual and ...

SearchStorage

  • SSD write cycle

    An SSD write cycle is the process of programming data to a NAND flash memory chip in a solid-state storage device.

  • data storage

    Data storage is the collective methods and technologies that capture and retain digital information on electromagnetic, optical ...

  • hard disk

    A hard disk is part of a unit -- often called a disk drive, hard drive or hard disk drive -- that stores and provides relatively ...

SearchSolidStateStorage

  • hybrid hard disk drive (HDD)

    A hybrid hard disk drive is an electromechanical spinning hard disk that contains some amount of NAND Flash memory.

Close