Wednesday, 23 March 2011

MVP Observations

As I learn more about MVP I'm beginning to notice a few things:
  • The cycle of events around the MVP triad can happily continue forever, this is because it's a queue, not a tree. I think this has potential for scaling up on AppEngine and down on Android.
  • Events couple each MVP relation. Interactions flow from View to Presenter. Commands flow from Presenter to the Model. Events flow from Model to View.
  • It's so painful to debug without a good view of the event queue.
I have created a monster ... again.