Wednesday, May 13, 2009

Supervising Controller

http://www.martinfowler.com/eaaDev/SupervisingPresenter.html

Pull complex view logic out into the controller to make it testable. In the examples, the controller listens to widget events, and does stuff with the input. Controller will update model, however can leave it up to the view to update model for basic stuff (which it might do using data binding).

No comments: