Reference resources:
1.https://martinfowler.com/eaaDev/uiArchs.html
2.https://blog.nodejitsu.com/scaling-isomorphic-javascript-code/
3.https://addyosmani.com/blog/understanding-mvc-and-mvp-for-javascript-and-backbone-developers/
4.http://www.ruanyifeng.com/blog/2007/11/mvc.html
5.http://www.ruanyifeng.com/blog/2015/02/mvcmvp_mvvm.html
6.http://www.ruanyifeng.com/blog/2015/02/mvcmvp_mvvm.html
7. The collection of mobile phone WeChat is easy to understand. Let’s understand it in combination with the actual project.
Question point:
1. MVC is just the presentation layer in the three-tier architecture? sprmingMVC
Code organization: performance, business logic layer, data access layer
File organization: view layer (view), general layer (util), control layer (controller), service layer (service), data layer (Dao)
2. In MVC: How is V updated? M to inform? If M is going to update V, then M needs to hold an instance of V or an observer pattern.
Some points:
1. The essence of MV-X is the same. The key point is that the bridge of MV depends on X to pull the line.