@rongcloud/engine 5.16.2-alpha.1 → 5.18.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,25 @@
1
1
  # @rongcloud/engine
2
+
3
+ Engine 包定义 Electron Renderer 进程及标准 Web 浏览器运行时业务代码
4
+
5
+ ## 目录说明
6
+
7
+ ```sh
8
+ .
9
+ |-- context - API 层的调用入口,承接不同 API 版本对 Engine 的调用
10
+ |-- engine-basic - Engine 抽象,及 ElectronRenderer 与标准 Web 共享模块包
11
+ |-- engine-web - 标准 Web 平台功能定义
12
+ |-- modules - 业务模块目录,后续将按业务对 engine 进行分拆,降低 engine 复杂度
13
+ ```
14
+
15
+ ## TODO:业务模块化
16
+
17
+ 后续逐渐将 Engine 按既有业务做模块化重构,拆解 Engine、APIContext,降低 Engine 代码体量,同时为后续拆包提供模块化集成做准备。
18
+
19
+ 暂定按业务类型划分为三个业务模块:
20
+
21
+ * Chat(会话)- 考虑到后续群融合等演进方向,不单独拆分单群聊、超级群业务模块
22
+ * Chatroom(聊天室)
23
+ * DataHosting(数据托管)
24
+
25
+ 拆分后,Engine 将只包含连接、日志等基础能力。