Communicating between plug-ins...
-
I have a mind to create a plug-in based application. This type of architecture seems appropriate to my current project as it would make the application extensible so that new functionality can be added simply by distributing new plug-ins. One question that keeps popping to the front of my mind, however, is how to enable inter-communication between various seperate, but related, plug-ins (for instance, Customer information might be useful to more than one plug-in). Has anyone got any links to any resources that describe known (and presumably successful / recommended) methods for achieving such a thing?
Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007
-
I have a mind to create a plug-in based application. This type of architecture seems appropriate to my current project as it would make the application extensible so that new functionality can be added simply by distributing new plug-ins. One question that keeps popping to the front of my mind, however, is how to enable inter-communication between various seperate, but related, plug-ins (for instance, Customer information might be useful to more than one plug-in). Has anyone got any links to any resources that describe known (and presumably successful / recommended) methods for achieving such a thing?
Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007
martin_hughes wrote:
methods
are going to vary based on both functional and non-functional requirements of which you provided none. Therefore the only link I can think of that would be of any use is http://www.google.com
-
I have a mind to create a plug-in based application. This type of architecture seems appropriate to my current project as it would make the application extensible so that new functionality can be added simply by distributing new plug-ins. One question that keeps popping to the front of my mind, however, is how to enable inter-communication between various seperate, but related, plug-ins (for instance, Customer information might be useful to more than one plug-in). Has anyone got any links to any resources that describe known (and presumably successful / recommended) methods for achieving such a thing?
Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007
Which language are you developing with ? EDIT: if you are using Java, I suggest you take a look at OSGi[^]. The plug-in system of Eclipse is built on top of OSGi.
Cédric Moonen Software developer
Charting control [v1.2]