I was just wondering... if i have a program that interacts with plugins how can i extend the functionality of the plugin API without breaking compatability.
Just say the API initially has 2 methods that every plugin can call and i build 10 plugins that implement this interface... how can i add new methods to the API that newer plugins can use without breaking compatability with the older plugins? (seen that them dont implement the API interface).
Not a major concern at the moment, but i'd like to know at the same time just incase i run into this problem in the future.
Question
Guest
I was just wondering... if i have a program that interacts with plugins how can i extend the functionality of the plugin API without breaking compatability.
Just say the API initially has 2 methods that every plugin can call and i build 10 plugins that implement this interface... how can i add new methods to the API that newer plugins can use without breaking compatability with the older plugins? (seen that them dont implement the API interface).
Not a major concern at the moment, but i'd like to know at the same time just incase i run into this problem in the future.
Would I need to have a few API versions?
Thanks guys...
Link to comment
Share on other sites
2 answers to this question
Recommended Posts