Answered by:
regarding the MVP pattern

Question
-
User-957313 posted
i know some thing about the MVP pattern... but when you want to develop a project(web project) based on the MVP pattern from where we need to start... i mean which component we need to start developing first ...
Model or View or Presenter... what are the points that we need to keep in mind....Thursday, May 6, 2010 2:51 AM
Answers
-
User197322208 posted
I think that is good to begin with Tests.
You can write the tests without having any model - just thinking to what the user tries to achieve and writing code for that.
Then you implement the Model / Presenter in order to comply to the test.
Latest you will do the view...
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, May 6, 2010 3:59 AM
All replies
-
User197322208 posted
I think that is good to begin with Tests.
You can write the tests without having any model - just thinking to what the user tries to achieve and writing code for that.
Then you implement the Model / Presenter in order to comply to the test.
Latest you will do the view...
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, May 6, 2010 3:59 AM -
Thursday, May 6, 2010 3:59 AM
-
User-37275327 posted
Major advantage of MVP is reduce the overhead of deployment. You start from any side. But it is prefer to start from the view, declaring all the control properties and events and declaring them on interface and map them on the presenter.
Monday, May 10, 2010 5:10 AM -
User-1083629820 posted
Hi,
Check the below article with a sample code
http://www.codeproject.com/KB/architecture/ModelViewPresenter.aspx
Monday, May 10, 2010 7:15 AM