How would I go about explaining the model view controller (MVC) pattern to someone who has no programming experience whatsoever?
If I were explaining this to my grandmother who is not a programmer, I'd explain it with sugar, a cup of coffee, and herself:
(Disclaimer:This is not an actual photograph of my grandmother! I am not a perfect painter with Microsoft Paint!)
Assuming this person knows what a computer is and how to use a browser, I'd try something like this:
MVC stands for Model
, View
and Controller
. Each of these have a role in a system.
Model
gets requests from the Controller
and sends back data.View
gets data from the Controller
and handles rendering.Controller
has a larger role:
Model
, gets data back and passes on appropriate data to the View
.Otherwise, try an illustrative real life example:
Model
is a warehouse manager.View
is a salesman.Controller
is a general manager.And the entire MVC-solution is the company they work in.
If you understand the MVC pattern yourself, I'm sure you can make make an understandable explanation from this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With