MVP - The Resurrection
In my previous post I alluded to a poor article about MVP on the Microsoft Patterns & Practices site that seems to misunderstand some of the key concepts underlying this pattern.
However redemption for Microsfot is at hand in an article by Jean-Paul Boodhoo in the August 2006 issue of MSDN Magazine. However you can see that the result of proper separation is a whole lot of code (14 projects for a trivial 1 page aspx!)
If you have been paying attention then you wil know that MVP has, at least according to Martin Folwer, been retired and replaced by two alternatives - Supervising Controller and Passive View. As it's name suggests the 2nd of these is the most pure (extreme) version where the View is no longer responsible for updating itself from the Model. Jean-Paul's article falls into this category. The question that you will need to ask yourself next time you are creating an aspx page is how much is too much in a View.
However redemption for Microsfot is at hand in an article by Jean-Paul Boodhoo in the August 2006 issue of MSDN Magazine. However you can see that the result of proper separation is a whole lot of code (14 projects for a trivial 1 page aspx!)
If you have been paying attention then you wil know that MVP has, at least according to Martin Folwer, been retired and replaced by two alternatives - Supervising Controller and Passive View. As it's name suggests the 2nd of these is the most pure (extreme) version where the View is no longer responsible for updating itself from the Model. Jean-Paul's article falls into this category. The question that you will need to ask yourself next time you are creating an aspx page is how much is too much in a View.
0 Comments:
Post a Comment
<< Home