What is the MVC architecture?

​The Model View Controller (MVC) architecture is made up of three parts:

  • Model: This is the lowest level of the pattern needed to maintain the data.

  • View: This enables the user to view the data.

  • Controller: This is the software code which controls the Model and View.

The following illustration explains the MVC architecture:

svg viewer

How it works

MVC’s specialty is that it isolates the application logic from the user interface layer. The Controller then receives requests from an event and processes the Model to prepare the data that is needed by the view. The View uses this data and generates output for the user to view.

New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved