View Single Post
Old 16th July 2008, 21:11   #10
Jaws
Lurker not a fighter
 
Join Date: Dec 2007
Posts: 85
Default

Quote:
Originally Posted by LittlestHobbo View Post
Apart from unit testing what other gains do you get from MVP? I might be stupid but it appears to me that if your manually testing then the page behind model gives you a useable MVP model (if rather crude).
I suppose you could theoretically use MVP to swap in alternative interfaces (winforms for instance) - although in practice that is unlikely to be a requirement. The main gain is in unit testing the code in your event handlers - that's the only reason I've ever used it.
Jaws is offline   Reply With Quote