Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[问答]谈谈 MVP 模式的优缺点 #42

Open
lomanyong opened this issue Mar 11, 2015 · 3 comments
Open

[问答]谈谈 MVP 模式的优缺点 #42

lomanyong opened this issue Mar 11, 2015 · 3 comments

Comments

@lomanyong
Copy link

稍微拓展一下,还可以说说 MVC 模式与 MVP 模式的区别,MVVM 呢?

@pcqpcq
Copy link

pcqpcq commented Mar 12, 2015

分享:谈谈UI架构设计的演化

@qqbance125
Copy link

相关文章分享:MVC,MVP 和 MVVM

@henry12
Copy link

henry12 commented Mar 12, 2015

说说当初我们改成MVP模式的原因,MVP模式做过WP开发的同学必须很清楚啊,于是我们从WP借鉴过来,主要为了解决的问题就是,view的臃肿,功能不再单一,不方便进行单元测试,使用fragment碎片的开发模式。
于是我们会有一套p层用来承载view的业务,让view的逻辑单一话只做UI相关的业务,同时也方便对p层进行单元测试,同时适应fragment的开发模式有利于代码复用等。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants