Dofactory.com
Dofactory.com
 Back to list
Views:   4.1K
Replies:  0
Archived

Multi component UI in MVP pattern

Hi,

In UI space, it is very common to have multiple UI components hosted inside one main container class. Each component are implemented in MVP triad - each would have its own Model, View and Presenter classes. Even the main container class would have its own. One responsibility of the main container class is to coordinate actions among multiple UI components. However in MVP pattern, presenters are created inside its view. Is there a design pattern to better implement this kind of scenario? What is a good design to handle communication between presenters?

Please let me know your thoughts.

Thanks,
Erwin


Erwin Magsino, Oct 20, 2013
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.