What is Model-View-Controller (MVC)?

Dr. Ashish Bamania
2 min readJun 2, 2022

MVC (Model-View-Controller) is a popular web application design pattern. Let’s talk about how it works!

Components

According to this design pattern, a web application is divided into 3 components.

View

This is what the user sees.

If we take the example of Apple Music, its front-end is the View component.

This is where users can interact with a web application and can request resources from its server as needed.

--

--

Dr. Ashish Bamania

Doctor 🩺 | Self-Taught Software Developer 👨‍💻 | Author 📘 | AIIMS, New Delhi 👨‍🎓 | Subscribe to my newsletter here: https://bytesurgery.substack.com/