Rajesh Pillai

My experiments with asp.net mvc, jquery, wpf, silverlight, sharepoint, tdd and design patterns.

  Home  |   Contact  |   Syndication    |   Login
  42 Posts | 2 Stories | 34 Comments | 0 Trackbacks

News

Twitter












Tag Cloud


Article Categories

Archives

Post Categories

business

MVP Pattern

Model View Presenter
MVP in Action - Unit Test This is in continuation to the article geekswithblogs.net/rajeshpi... This post will deal with writing simple unit test case for the "User" user creation use case we covered in the above blog post. For some quick benefits of unit test please refer my earlier post geekswithblogs.net/rajeshpi... Background Unit testing means testing a piece of code or a method. White unit testing we need...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

MVP Pattern in action This edition of blog post deals with a simple example of MVP pattern in action. Model View Presenter is a UI pattern which separates the presentation concerns with the presentation logic. There are three elements to it Model - This is the data or business object View - The User interface dealing with displaying data. It routes user commands to the presenter. Presenter - Interaction of UI with UI logic. It retrieves the data from repositories, persistsit, manipulates it and determines...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati