MVC

Code organization approach

MVC stands for Model-View-Controller, a software design pattern that separates an application into three interconnected components.

The model handles data and logic, the view displays information to users, and the controller mediates between them.

MVC is foundational in web development frameworks: Rails follows MVC architecture, The controller processes the form input.

In sports contexts, MVC means Most Valuable Contributor or refers to the Missouri Valley Conference.

development

framework

Underlying support system

  • controllerDevice directing a system
  • modelRepresentation or paradigm
  • viewWhat's seen from somewhere

routing · CRUD · API · database · web application · coding · software · REST · endpoint · action

architecture

model

Representation or paradigm

design pattern · software engineering · abstraction · loose coupling · scalability · reusability · object-oriented · Gang of Four · encapsulation · modularity

interface

view

What's seen from somewhere

buttons · forms · input · dropdown · widgets · dashboard · menu · icons · toolbar · modal

Opposites
architectural organization

MVCspaghetti code

Poorly structured program

inline code · anti-pattern · MVP · flux

alternative architectural patterns

MVCMVP

Best player award

flux · microservices · serverless

code organization philosophy

MVCspaghetti code

Poorly structured program

quick and dirty · technical debt

Familiarity
Top 1,000,000
Profile
Used worldwide · Timeless · Abstract · Rated G