What Is MVC? Simple Explanation


Have you ever wondered what MVC means in programming or how it really works? MVC stands for Model, View, Controller, and it is an architectural paradigm used by many web frameworks such as Ruby on Rails, Laravel, CakePHP, Django and more. It is a way of thinking organizationally when coding.

In MVC everything has its own place so you can catch up on projects easier and find snippets of code when debugging or improving a page. It also makes the application efficient and secure since only certain elements can do certain things. For example, only Models talk to the database, and only Views contain HTML markup and so forth.

Traversy Media Channel