Monday, March 28, 2011

MVP or MVC

 

Recently, I am trying a very cool new architecture called WebForm MVP which comes as a mediator between Webform and MVC.

This framework is very brilliant and explain the best practice for using Webform.

For example the reason of using Page Init instead of Page load in regards of the viewstate.
This will enforce the best practice for the web developer to build there web application which now fully support for unit testing.

You can check this at http://webformsmvp.com/
and here is the contrib project which support common use presenter and Ioc Container such as Ninject and structure map.
http://webformsmvpcontrib.codeplex.com/

I believe this project will soon be adopted by VS next release.

Here is some brilliant article supported for this.
Viewstate - http://weblogs.asp.net/infinitiesloop/archive/2006/08/03/Truly-Understanding-Viewstate.aspx

No comments: