2024-06-24 17:49:58 +08:00

17 lines
959 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 核心数据框架
本模块是flyfish framework的最核心能力
其提供无感知的多种数据源支持并完整适配了mongodb和rdbms的查询表现
用户只需要用一套api即可完成数据的查询或修改无需为了底层实现而大费周章重新开发。
## 核心架构
1. 基于Spring SPI模式声明式注入查询实现工厂动态替换查询构建逻辑
2. 按需引入不浪费任何依赖节省空间。使用maven的按需引入模式让打包后的结果不必因为重量级的框架而变得冗余
3. 指哪打哪稳定快速。集成最新版本的spring mongo引擎和spring data r2dbc
4. 核心框架广泛使用,保证"0bug"。
## 无限扩展
1. 根据实际业务需求采用mongo、jpa、r2dbc的方式动态选择实现而业务和底层存储实现无关完全解耦
2. 健壮的架构能够支撑99%的业务
3. 完善的关联机制,多表关联做到全自动化