CloudBeaver 参考架构

以前有简单说明过,以下是一个来个官方的一些参考

server

osgi 模式,依赖dbeaver

  • 依赖的库
    Equinox osgi 容器
    Eclipse Platform,虚拟文件系统&&插件系统
    Jetty web server
    Java Graphql 前端通信api
    DBeaver 系统管理平台
    一些三方数据库驱动
  • 当前支持的数据库
    pg
    mysql
    mariadb
    sqlite
    firebird

server api

api 地址格式:http://localhost:${ServerPort}/${ContentRoot}/gql/console
CloudBeaver 的为: http://ip:port/dbeaver/gql/console

frontend 技术

  • 技术栈
    react 作为单页面技术,InversifyJS作为ioc处理,MobX 管理状态,graphql 进行api 通信
    项目使用lerna单体仓库模式管理,集成reshadow 进行web 组件化开发,以及css 模块化
    样式效果,ag-grid 进行表格数据展示,Codemirror 做为sql 编辑器
  • 构建&&运行
    本地构建,运行命令
 
cd webapp/packages/dbeaver
yarn run dev --server=localhost:8978
  • plugins
* core
   * app - Base application folder
   * assets - Styles and translation
   * blocks - Low-level common visual components
   * di - Dependency injection related classes
   * dialogs - Main and context menues, modal windows
   * eventsLog - Logging
   * sdk - GraphQL related services
   * theming - Themisation related services and hooks
* ag-grid-plugin - wrapper over Ag-Grid
* basic-connectio-plugin - provides handling of preconfigured connections
* custom-connection-plugin - provides handling of custom connections
* data-viewer-plugin - provides Data Table View
* object-viewer-plugin - provides Object Property View
* sql-editor - provides SQL-editor tab
* dbeaver - configure and build all plugins to the final application

说明

通过官方的介绍我们可以整体的了解开发模式,方便学习

参考资料

https://github.com/dbeaver/cloudbeaver/wiki/Frontend-description
https://github.com/dbeaver/cloudbeaver/wiki/Server-Architecture
https://github.com/dbeaver/cloudbeaver/wiki/Server-API-explorer
https://github.com/inversify/InversifyJS
https://reshadow.dev/
https://mobx.js.org/README.html
https://github.com/lerna/lerna
https://www.ag-grid.com/
https://codemirror.net/2/
https://github.com/lttb/reshadow

posted on   荣锋亮  阅读(905)  评论(0编辑  收藏  举报

编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2018-05-09 ffmpeg hls 点播负载均衡简单实现
2018-05-09 nginx grpc 试用
2018-05-09 autoconf 添加三方库(libcurl)简单试用
2015-05-09 nodejs 任务调度使用
2014-05-09 SQL Server MERGE
2014-05-09 ORA-01791: not a SELECTed expression
2014-05-09 Oracle instr函数

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示