Comments (2)
关键代码
获取图表数据方法
定义接口,各个图表处理数据的方法是具体的实现类
前端统一调用,传入图表类型。后端方法根据图表类型找到对应的实现类进行数据处理操作
更新图表大屏
记录当前版本号,每次更新都将版本号加一后执行新增操作,同时更新最新版本号
此处要注意相关操作要放在同一个事务中,执行后统一提交
from data-view.
主要文件夹
- handler相当于spring中的controller层,负责处理前端接口请求和返回数据
- schema定义前后台交互的数据结构
- model目录负责从数据库中查询数据进行业务处理
- database维护数据库连接对象
其他文件夹
- config负责配置文件读取
- middleware是中间价拦截器,负责用户登录拦截和处理跨域请求等
- logger目录是日志配置
from data-view.
Related Issues (3)
- 关于后台运行 HOT 3
- 能否增加一个开源License?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-view.