Back to list
Views:   8.1K
Replies:  1

MVP - So many questions

Hello -

I have purchased the Design Pattern Framework and have stepped through the sample MVP application.  I hope I'm not alone in asking how this works?  I need to implement this type of framework but the associated documentation does not offer any real step-by-step how-to.  The sites I've looked at are not well organized and I was hoping someone had documentation or tutorial that would better explain this?  Does annyone have any further suggestions?
Bryan Ruddy, Mar 13, 2011
Reply 1
I am not sure what your experience level is as a .NET developer, but you are right in that learning to understand the essentials of the MVP pattern is not always easy.

It may help to know that the MVC and MVP patterns are closely related. Once you understand the very commonly used MVC, you will find learning MVP much easier. First, I would read up on anything related to MVC and MVP - in the Design Pattern Framework documentation, as well as elsewhere -- you will find quite a few references on the Internet.

Next, I would open Visual Studio and start exploring the Design Pattern Framework sample applications and try to understand their high level design, i.e what/where are the Views, what/where are the Models, and what/where are the Presenters. Try to understand what they do by exploring the code.  Next, I would open the debugger and step all the way through the entire application while interacting with the UI as a normal user would.  You'll be stepping throught the Model, the Presenter into the View and then back again, when saving user changes to the database.  It is important to understand how the data flows from the database to the UI and back to the database.

I think that after a while you are going to get a much better feel of the different components (Model, View and Presenter) and their roles in the MVP pattern.

I hope this gets you going.

Dan McMillan, Mar 14, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.