Wednesday, February 6, 2008

MVC VS MVP vs Passive View

As you know MVC is a Model View Controller Pattern. which focus on the controller to update the view trigger by event when model changed/ updated.

MVP is the variation of MVC where controller can hang together with View (Called Presenter).
This makes the UI more interactive. such as in Asp.net control, user can interact with the model interactively using the presenter.

Passive view is also the variation of both. It will enhance the testability. It does not have dependencies with View and Controller and all user responses are handled by the controller

No comments: