2015-07-28, 00:12:21
The GSPlugin class can be extended so that the plugin user wraps all of their methods in the one class and registers it as they would with the base GSPlugin class (i.e. init()).
Here is a sketch of the ideal methods for the GSPlugin class:
https://github.com/lokothodida/gs-plugin-sdk#gsplugin
Not all of them have been implemented yet, but it covers many of the cases you've mentioned (wrappers for sidebar/tab creation, abstracting creators away from being forced into OOP whilst still allowing for it, etc...).
Here is a sketch of the ideal methods for the GSPlugin class:
https://github.com/lokothodida/gs-plugin-sdk#gsplugin
Not all of them have been implemented yet, but it covers many of the cases you've mentioned (wrappers for sidebar/tab creation, abstracting creators away from being forced into OOP whilst still allowing for it, etc...).