开发者

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

开发者 https://www.devze.com 2023-01-21 08:02 出处:网络
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?

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

精彩评论

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

关注公众号