Passive view: communication between components

I view each MVP triad as an isolated component. For example, if View implements the IView interface, Presenter knows, of course, View through IView.

This is what I can make a component as reusable as possible. Now I need to combine these MVP components to create the application. I am wondering what good practice is to keep these components as separate as possible. But, of course, I need them to communicate / react to each other.

Can I make IView available to other speakers? Or should I just let the facilitators communicate with each other, not knowing the basic Concepts?

thank

+3
source share
2

MVP . , , .

MVP. , , , , .

, .


, , : , . , , . , , , , , , .

, , , .

. , , , , . ( ), , , .

, , - , ( MVP). , . , / , . , (), .

+3

. , . , , . , (, " 123 " )

a - gwt mvp .

0

Source: https://habr.com/ru/post/1773456/


All Articles