Can someone explain MVC is very simple for me?

Can someone explain MVC is very simple for me? I just cant seem to wrap myself around.

Most tutorials or detailed explanations lose me.

+6
source share
3 answers

To understand MVC in Layman, refer to the banking analogy option.

Essentially MVC:

  • A model is part of code that knows things.
  • A view is part of the code that shows what the Model knows.
  • The controller is part of the code that receives commands from the user and reports "Show what to show" and "Model" that you need to know.
+18
source

MVC is a way to separate the core of your application from the graphic parts. you have a controller, you do all the access and work, as well as some views that simply display the result and interact with the user without doing any data processing.

http://en.wikipedia.org/wiki/Model-view-controller

+2
source

This is the separation of data (models), logic (controller) and the display of results (representations). The advantage of MVC is that the different roles in the application are separated, which makes it more reliable. Another advantage is that it is easier to maintain, since more developers are using this method of programming.

+2
source

All Articles