MVP和MVC有什么区别?

别说谁变了你拦得住时间么 提交于 2020-10-27 06:59:49

问题:

When looking beyond the RAD (drag-drop and configure) way of building user interfaces that many tools encourage you are likely to come across three design patterns called Model-View-Controller , Model-View-Presenter and Model-View-ViewModel . 当超越RAD (拖放和配置)构建用户界面的方式时,许多工具鼓励您使用三种设计模式,分别称为Model-View-ControllerModel-View-PresenterModel-View-ViewModel My question has three parts to it: 我的问题包括三个部分:

  1. What issues do these patterns address? 这些模式解决了哪些问题?
  2. How are they similar? 它们有何相似之处?
  3. How are they different? 它们有何不同?

解决方案:

参考一: https://stackoom.com/question/XA/MVP和MVC有什么区别
参考二: https://oldbug.net/q/XA/What-are-MVP-and-MVC-and-what-is-the-difference
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!