Updated The birth of a python plugin architecture (markdown)

Lerking
2024-03-06 07:32:07 +01:00
parent 37fa2dcd29
commit 1480ef3f82
+17 -1
@@ -1 +1,17 @@
#The birth of a python plugin architecture
#The birth of a python plugin architecture
## Q&A
Q. What is the plugin architecture design pattern?
A. The plugin architecture design pattern (also known as microkernel) is a philosophy that surrounds a core application with a number of attachable/detachable modules. These module can be attached and detached in runtime.
The main benefits are the following.
- A core application that needs little to no updating unless it's updated core functionality.
- Functionality can be kept and maintained in small separate modules (plugins). A plugin can be updated regardless of the core application as long as it maintains the same interface to the core application.
Q. What is required of a plugin system?
## Plugin requirements
* Plugin registration (installation)
* Plugin activation (activate the plugin)
* Plugin deactivation (deactivate the plugin)
* Plugin un-registration (un-installation)