Updated The birth of a python plugin architecture (markdown)

Lerking
2024-03-06 07:53:11 +01:00
parent b4c2add35a
commit 9942fe6b39
+16 -1
@@ -10,8 +10,23 @@ A. The plugin architecture design pattern (also known as microkernel) is a philo
Q. What is required of a plugin system?
A. These elements must be in place for a basic plugin system.
- A core system which handles registration/unregistering
- Some sort of configuration file with info about registered plugins. This could be any type of file for storing basic data i.e. json, xml, yaml etc.
- Plugins using the plugin class as its main component. This ensures interface stability.
## Plugin requirements
* Plugin registration (installation)
* Plugin activation (activate the plugin)
* Plugin deactivation (deactivate the plugin)
* Plugin un-registration (un-installation)
* Plugin unregister (uninstall)
### Plugin registration
What should happen when a plugin registers?
### Plugin activation
### Plugin deactivation
### Plugin un-registering