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...
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...