首页 > 应用开发 > IT综合 > CloudBeaver 参考架构
| CloudBeaver 是一个基于 Web 的云数据库管理工具,支持 PostgreSQL、MySQL、MariaDB、SQLite 和 Firebird 等数据库。 |
osgi 模式,依赖 dbeaver
api 地址格式:
http://localhost:${ServerPort}/${ContentRoot}/gql/console
CloudBeaver 的为:
http://ip:port/dbeaver/gql/console
react 作为单页面技术,InversifyJS作为ioc处理,MobX 管理状态,graphql 进行api 通信
项目使用lerna单体仓库模式管理,集成reshadow 进行web 组件化开发,以及css 模块化
样式效果,ag-grid 进行表格数据展示,Codemirror 做为sql 编辑器
本地构建,运行 命令
cd webapp/packages/dbeaver yarn run dev --server=localhost:8978
* 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
通过官方的介绍我们可以整体的了解开发模式,方便学习
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31559985/viewspace-2697699/ ,如需转载,请注明出处,否则将追究法律责任。