Alright guys,

So at work, we're looking to use MVP in our project. Can't use any
frameworks, so webformsmvp is out of the question.

The pattern seems trivial enough, but there seems to be a variety of
implementations. One thing I can't pick from is:

1) Add events on the View interface and have the view raise these events
that the Presenter has subscribed to, ticks for looser coupling, but I'm not
sure what the ramifications are for testing, would it mean when I mock my
view, I'd have to raise these events on the view.
2) Have the underlying operations exposed on the Presenter, and have the
View invoke the operations, but more coupling, but it means when I'm testing
I could just invoke the operations on the presenter and test the results on
the View.


What's everyones approach on this?

Cheers,


Winston

Reply via email to