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.
Model = Your brain View = Your clothes Controller = The rest of your body
there #FTFY
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
Model = Your brain
View = Your clothes
Controller = The rest of your body
there #FTFY