DEV Community

Discussion on: Explain MVC like I'm five

Collapse
 
itachiuchiha profile image
Itachi Uchiha

Controller: your brain

Model: your body

View: Your clothes.

When you think of something your controller start to work.

Any part of the arm, hand or body represents the model.

Any clothes represents the view.

Controller ===> Your brain ready to do something

Model ===> Okey but I need shoes to show something

View ===> You wear your shoes to show data from model.

When I started to MVC, I didn't understand what is the mvc. After then I coded MVC like this.

So, you should find examples from the real world. Because the people can't forget examples from the real world.

Collapse
 
azder_16 profile image
Goran Peoski

Model = Your brain
View = Your clothes
Controller = The rest of your body

there #FTFY