The model-view-controller or MVC is software architecture commonly used for creating web applications or software. In other words, it’s a structure for web applications to follow in order to ensure efficiency and consistency. Many of the most popular frameworks use the MVC architecture, including ASP.NET, CodeIgniter, Zend, Django, and Ruby on Rails. At the same time, there are many web developers who don’t use a coding framework yet still set up their applications to follow the MVC structure.
In this article we’ll look in more depth at what the MVC architecture is in detail, and what each part is, and why you should be using it.