brief introduction of MVC:
1. Model: the basic data structures of your application
2. View: the User Interface (UI)
3. Controller: is a [color=red]pure fabrication[/color] placed between the GUI and the internal logic of the system to decouple them
Note: a pure fabrication is a design class which does not correspond to anything in the domain, e.g. Collection, Factories, UI components...
If you want to learn more, please search 'GRASP' or 'General Responsibility Assignment Software Pattern'
Django also follows the MVC structure, but because parts of Controller is done by the frame self, so for Django, MTV model seems more attractive.
1. Model: the basic data structures of your application
2. View: the User Interface (UI)
3. Controller: is a [color=red]pure fabrication[/color] placed between the GUI and the internal logic of the system to decouple them
Note: a pure fabrication is a design class which does not correspond to anything in the domain, e.g. Collection, Factories, UI components...
If you want to learn more, please search 'GRASP' or 'General Responsibility Assignment Software Pattern'
Django also follows the MVC structure, but because parts of Controller is done by the frame self, so for Django, MTV model seems more attractive.