Model View Presenter (MVP) design pattern and data binding(c-sharpcorner.com)

submitted by rohan123rohan123(740) 2 years, 8 months ago

Model View Presenter (MVP) design pattern is the evolution of the MVC design pattern and it’s aimed at providing a cleaner separation of concerns between the view, the model, and the controller improving the architecture (you can use several UI technologies without recompiling the business logic components) and testability of the enterprise solution. The pattern was originally developed at Taligent in the 1990s. In this article, I will explain the principles and how to use the MVP design pattern along with data binding with an example using C# language in Microsoft.NET.

1 comment |category: |Views: 567

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dotnetchrisdotnetchris(157) 2 years, 8 months ago 0

This is an alright post but I won't kick it for the fact it has high coupling for the presenters especially that the presenter has to be created every single click event. I wrote a blog a while ago about this topic: http://dotnetchris.wordpress.com/2009/02/16/creating-a-generic-model-view-presenter-framework/

My blog covers this and takes advantage of generics for following a framework for the MVP pattern and uses dependency injection to keep coupling loose, in my case I specifically wrote it targeting StructureMap but it could be easily adapted for any other IoC container.

Reply

information Login or create an account to comment on this story