programming framework
- MVC framework
- StrangeIoC framework
MVC framework
- Model
- Encapsulate application state
- Responding to Status Queries
- App features
- Notify view changes
- view
- Analytical model
- Model update request
- Send user input to the controller Controller
- Allow the controller to select the view
- controller
- Define application behavior
- User actions map to model updates
- Select the view for the response
The StrangeIoC framework uses the MVCS model, where S is the server server, and the framework follows the rules as far as possible to distinguish the View and the Controller, so as to ensure that the minimum amount of code is modified when the requirements change later.
Reference blog: http://blog.csdn.net/qq992817263/article/details/51306189