Guo's profile版权所有,转载须作者同意PhotosBlogLists Tools Help

Blog


    August 26

    MVC evolves: the Page Controller

    A somewhat different implementation of MVC has been popularized by frameworks
    like Microsoft’s ASP.NET1. Rather than have requests go through a dispatcher
    to look up a controller to execute, the view is hit directly and calls its controller
    before continuing to render. Although this pattern gives up some of the decoupled
    nature of a more classic MVC implementation, it should gain in productivity and
    tool support (especially in Microsoft Visual Studio).
    This type of development canalso be supported by WebWork by using the <webwork:action> custom tag (see
    chapter 9, “Tag libraries,” for a discussion of the WebWork tag library).

     

    A lightweight container is different—it gives you the ability to add features to a generic container, thereby making a unique container that fits the
    needs of your application.