Alex Rivera | Logout

Is ASP.net Model View Presenter worth the time?

Asked 2009-05-04T02:12:20.020
17

I'm reading about ASP.net MVP pattern over this weekend and it seem like even the most simple task take too much effort if do it in MVP pattern the pay off seem to be at larger project but i think to myself if i'm going to follow MVP. Why not just do the project in ASP.net MVC?

The reason that I'm looking at MVP pattern is because I've noticed in all my ASP.net Webform projects there are a lot of code in the code behind just for event handling along if i have a lot of server control on the web form so i was looking at the way to reduce that and come across the MVP pattern.

Is it worth the effort to follow the MVP pattern or just switch over to the ASP.net MVC?

Edit
Report

1 Answer

2

my personal opinion is that if there's a lot of code in the code behind, there still are ways other than adopting M-V-P in order to slim it down, refactor and make it testable.

if your page has extensive user interaction (like buttons/links enabling/disabling, panels and controls appearing/disappearing) M-V-P would be worth the hassle.

answered 2009-05-04T02:19:18.940

Your Answer