UI

UI

Parameters for View to Presenter Communication

I’m a big time fan of the Passive View pattern.  I find that in terms of allowing for testing of the UI, Passive View allows me to get as close to the user as possible.  While there are a few ways to handle communication in Passive View my preference is on direct references.  By this I mean the Presenter has a reference to an interface that the View implements and the View has a reference to the Presenter.  I don’t use an interface for the Presenter because honestly in all my time I’ve never actually seen the Presenter...