I've been reading the model-view-presenter lately and have been loving it. I get the basic principles when I have one MVP Triage but I having an issue with multiple MVPs.
Ã?Â
My simple app has a main form and two modal dialogs (for user input) to� experiment with MVP principles.� I plan on creating three MVP triads, one for the main form and two other MVP for the modal dialogs.� When it is just the main form it is pretty straight forward to apply MVP architecture (In this case Passive View). But when there more than one I am not sure how to handle the communication between MVP Triads.
Ã?Â
I was thinking maybe the main form model (say modelA) would take a reference to the two other modal dialog model objects (modelB and modelC).� An example would be IModelA modelA = new ModelA(modelB, modelC). So when there is a Event to display the� Model Dialog� from the Main Form it would trickle down to� model ...
Go to the complete details ...