## 开发扩展路径

<div class="doc-path">

1. 做模块级改造前，先阅读 [后端架构](https://www.fastbee.cn/doc/business/v2/architecture/backend.html)、[前端架构](https://www.fastbee.cn/doc/business/v2/architecture/frontend.html) 和 [数据与数据库架构](https://www.fastbee.cn/doc/business/v2/architecture/data.html)。
2. 后端接口和业务模块定位先看 [后端模块映射](https://www.fastbee.cn/doc/business/v2/dev/backend-module-map.html)，表结构和接口关系看 [数据模型与接口映射](https://www.fastbee.cn/doc/business/v2/dev/data-model-map.html)。
3. Vue3 页面、接口和联调开发先看 [Vue3 前端开发与联调](https://www.fastbee.cn/doc/business/v2/dev/vue3-development.html)。
4. 设备协议扩展先看 [协议管理](https://www.fastbee.cn/doc/business/v2/dev/protocol.html)、[平台主题](https://www.fastbee.cn/doc/business/v2/dev/topic.html) 和 [Modbus 开发](https://www.fastbee.cn/doc/business/v2/dev/modbus.html)。
5. 规则和消息处理先看 [规则引擎](https://www.fastbee.cn/doc/business/v2/dev/rule.html)、[规则视图](https://www.fastbee.cn/doc/business/v2/dev/rule-view.html) 和 [脚本说明](https://www.fastbee.cn/doc/business/v2/dev/voice-talk.html)。
6. AI 能力扩展阅读 [AI 二次开发](https://www.fastbee.cn/doc/business/v2/dev/ai-development.html)，组态和大屏组件扩展阅读 [可视化与组态二开](https://www.fastbee.cn/doc/business/v2/dev/visual-development.html)。
7. 固件升级、设备配对、网关采集等能力分别查看 OTA、设备配对和网关文档。

</div>

## 常见任务入口

<div class="doc-link-grid">
  <a class="doc-link-card" href="./backend-module-map.html"><strong>后端模块映射</strong><span>按业务功能定位 Controller、模块职责、接口前缀和源码目录。</span></a>
  <a class="doc-link-card" href="./data-model-map.html"><strong>数据模型映射</strong><span>按表名前缀、接口和前端入口理解业务数据关系。</span></a>
  <a class="doc-link-card" href="./vue3-development.html"><strong>Vue3 前端开发</strong><span>本地开发、OpenAPI、Mock、requestId、E2E 和联调门禁。</span></a>
  <a class="doc-link-card" href="./protocol.html"><strong>扩展设备协议</strong><span>查看协议管理模块、解码编码和协议集合。</span></a>
  <a class="doc-link-card" href="../architecture/"><strong>查看架构设计</strong><span>先理解前后端、数据、部署和性能边界，再做二次开发。</span></a>
  <a class="doc-link-card" href="./rule.html"><strong>开发规则脚本</strong><span>理解规则引擎上下文、脚本对象和消息转发。</span></a>
  <a class="doc-link-card" href="./ai-development.html"><strong>AI 二次开发</strong><span>模型供应商、知识库、协议适配、NL2SQL 和源码知识库扩展。</span></a>
  <a class="doc-link-card" href="./visual-development.html"><strong>可视化二开</strong><span>拖拽编辑器、组态组件、变量绑定、事件和素材维护。</span></a>
  <a class="doc-link-card" href="./code-generator.html"><strong>代码生成器</strong><span>数据表导入、字段配置、预览、生成、菜单权限和联调检查。</span></a>
  <a class="doc-link-card" href="./ota.html"><strong>开发 OTA 能力</strong><span>设备升级流程、固件类型和升级主题。</span></a>
  <a class="doc-link-card" href="./gateway.html"><strong>开发网关采集</strong><span>查看网关、子设备和采集链路设计。</span></a>
  <a class="doc-link-card" href="./database.html"><strong>查看数据库说明</strong><span>表结构、数据流转和二开关注点。</span></a>
  <a class="doc-link-card" href="./topic.html"><strong>查看 Topic 说明</strong><span>设备主题、平台主题和消息流转约定。</span></a>
</div>
