MVC explanation to grandma

I'm just wondering if anyone has any suggestions on what you would do when explaining MVC to your grandmother. Please let me know if you have any ideas. Thanks, N

+7
source share
2 answers

Perhaps you could explain this with sugar, a cup of coffee, and yourself:

enter image description here

Disclaimer: Do not take your grandmother's blueprint personally! I am not a perfect artist with Microsoft Paint!

+24
source

Assuming your grandmother knows what a computer is and how to use a browser, I would try something like this:

MVC stands for Model , View and Controller . Each of them plays a role in the system.

  • Model receives requests from the Controller and sends back the data .
  • View receives data from the Controller and processes the rendering .
  • Controller has a big role:
    • sends Model requests , returns data, and passes the corresponding data to the View .
    • It receives and interprets requests due to the MVC pattern (client requests).

Otherwise, try a real-life example:

  • Your Model is a warehouse manager.
  • Your View is a seller.
  • Your Controller is the general manager.

And the whole MVC solution is the company they work for.

If you yourself understand the MVC pattern, I'm sure you can make a clear explanation out of it.

+4
source

All Articles