groundwork icon indicating copy to clipboard operation
groundwork copied to clipboard

Documentation: Plugin Lifecycle

Open ubmarco opened this issue 9 years ago • 0 comments

I stumbled upon the passage Plugin dependencies in plugins.rst. The following topics could make use of a more detailed documentation:

  • Plugin lifecylce
    1. Plugin as class in my_app.plugins.classes
      • registered via package entry points 'groundwork.plugin'
      • registered via my_app.plugins.classes.register([AnotherPlugin])
    2. Plugin after instantiation in my_app.plugins
    3. Plugin after activation
    4. Plugin after deactivation
    5. Plugin after re-activation
  • Plugins that may be instantiated several times
    • same class name
    • different self.name via name parameter of init routine
  • Plugin class name vs. Plugin self.name vs. Package name vs. Package entry point name
    • Where are they stored in groundwork
    • When are they relevant?
    • What are best practices?

ubmarco avatar Dec 22 '16 13:12 ubmarco