开发者

MVP or MVC - Which one allows to write loosely coupled code?

Though I have gone through some articles regarding MVC and MVP, I am not able to take decision to write code with MVP or MVC pattern?

Which pattern will allow us to write loose开发者_JAVA百科ly coupled code? Can I assume Asp.Net web forms is MVP by default?


Both patterns allow you to write loosely coupled code. Out of the box ASP.NET WebForms is not MVP. You need to make it. There's even a framework which may simplify this task.


Neither. Both. Patterns might help, but its you who writes either tightly or loosely coupled code in the end.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜