Difference between revisions of "Talk:Communication Between Components"

Jump to: navigation, search
(Clarify whether subplugins can communicate)
 
Line 1: Line 1:
 
The diagram in https://docs.moodle.org/dev/Communication_Between_Components#General_rules_for_inter-component_communications seems to imply that subplugins can't communicate with each other regardless of whether they declare a dependency, which I don't think is the case. I wonder if it would be worth clarifying this by adding a third subplugin which does declare a dependency?
 
The diagram in https://docs.moodle.org/dev/Communication_Between_Components#General_rules_for_inter-component_communications seems to imply that subplugins can't communicate with each other regardless of whether they declare a dependency, which I don't think is the case. I wonder if it would be worth clarifying this by adding a third subplugin which does declare a dependency?
 +
 +
Yes sub-plugins can communicate but only if they have an explicit dependency (version.php). I went to update the diagram - but it would have made it too cluttered and less clear so I'll just add a note about it underneath.

Revision as of 01:20, 31 January 2017

The diagram in https://docs.moodle.org/dev/Communication_Between_Components#General_rules_for_inter-component_communications seems to imply that subplugins can't communicate with each other regardless of whether they declare a dependency, which I don't think is the case. I wonder if it would be worth clarifying this by adding a third subplugin which does declare a dependency?

Yes sub-plugins can communicate but only if they have an explicit dependency (version.php). I went to update the diagram - but it would have made it too cluttered and less clear so I'll just add a note about it underneath.