ASP.NET MVC
Just saw a demo of ASP.NET MVC by Jeffrey Palermo on DevTeach Vancouver. The demo used StructureMap to construct the controller DI/IoC way, but actually key point of this framework is the “URL routing handler” that maps URL request to controller class’ method. The mapping is configurable and has intelligence to map automatically by parameter.
It somehow reminds me ISAPI Extension. In Delphi, it was as easy as adding a WebAction component, set path then code in the OnAction event which usually calls methods in another controller class…
The second key point is the “RenderView” method from base class Controller. It invokes aspx as a template engine. The result is that view state, server side event are no more available.
To me, ASP.NET MVC is as same as Web Client Software Factory that I will not jump on immediately.
Add comment November 30th, 2007