You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we continue to enhance the functionality of our Instant Messaging (IM) service, it's become evident that we need a well-organized and scalable directory structure to support the integration of plugins and extensions, such as mini-programs and workbench applications. This issue proposes a new directory structure designed to facilitate the development, maintenance, and integration of these additional features.
Proposed Directory Structure
The following is the proposed directory structure:
OpenIM/
├── ... (existing files and directories)
├── plugins/
│ ├── README.md
│ ├── mini_programs/ # Directory for mini-program plugins
│ │ ├── plugin1/
│ │ │ ├── ... # Files and directories for plugin1
│ │ └── plugin2/
│ │ ├── ... # Files and directories for plugin2
│ └── workbench_apps/ # Directory for workbench application plugins
│ ├── app1/
│ │ ├── ... # Files and directories for app1
│ └── app2/
│ ├── ... # Files and directories for app2
└── ...
Rationale
Modularity: Each plugin or extension is treated as an independent module, allowing for easy addition, update, or removal.
Clarity in Hierarchy: The directory structure clearly reflects the relationship between components, facilitating understanding and maintenance.
Compatibility and Dependency Management: Given that different plugins or extensions might have specific dependencies, the structure supports flexible dependency management.
Implementation Considerations
Integration Mechanism: How to integrate these plugins at the code level, possibly through interfaces, hooks, or event systems.
Version Control and Dependency Management: Strategies for managing versions and dependencies of different plugins.
Security: Ensuring that the integration of new plugins does not compromise the overall security of the system.
The text was updated successfully, but these errors were encountered:
cubxxw
added
design
Categorizes issue or PR as related to design.
feature
Categorizes issue or PR as related to a new feature.
labels
Dec 8, 2023
— with
Slack
Issue Description
As we continue to enhance the functionality of our Instant Messaging (IM) service, it's become evident that we need a well-organized and scalable directory structure to support the integration of plugins and extensions, such as mini-programs and workbench applications. This issue proposes a new directory structure designed to facilitate the development, maintenance, and integration of these additional features.
Proposed Directory Structure
The following is the proposed directory structure:
Rationale
Implementation Considerations
The text was updated successfully, but these errors were encountered: