Saturday, April 28, 2007

New Stab At Presenter First

Presenter First: Mappers. Plain and simple. Maps events to actions/commands required on the injected objects in the presenter.

  • Benefit is that all the models and views can be isolated from each other so that they can change on their own. Views especially don't need to know about models.
Something else, It seems to me an event aggregator could replace all the presenters with only one presenter and store all actions/commands in a table. Need only to pass all models and views into aggregator. Need to define the mechanics for this refactoring.

No comments: