Can someone provide basic sample / link for MVP Framework.
Need to design a website => is much more of Admin type site.
SQL Server as database backend.
Can someone provide basic sample / link for MVP Framework.
Need to design a website => is much more of Admin type site.
SQL Server as database backend.
Model View Presenter at MSDN:
http://msdn.microsoft.com/en-us/magazine/cc188690.aspx
MVP Framework at CodePlex:
CodeProject has a good example on how you can start with .NET MVP framework: http://www.codeproject.com/KB/architecture/DotNetMVPFramework_Part1.aspx
Check out the webforms MVP framework. Might be better than rolling out your own
Don't forget the Microsoft Prism project:
http://msdn.microsoft.com/en-us/magazine/cc785479.aspx
Here's a quickstart:
You may want to check out the WebClient Software Factory from the Microsoft Patterns & Practices team. It's also here on Codeplex. It uses the MVP pattern, and adds a couple of helpful options to Visual Studio when you install it.
I found "Polymorphic Podcast : Design Patterns Bootcamp: Model View * Patterns" very useful. It has several concise walkthrough videos.
I've used with success the following open source project to implement the MVP pattern in ASP.NET + WinForms:
Take a look at my blog post which shows a complete ASP.NET Web Application sample: