2022
我们一起努力

CloudBeaver怎么构建和运行

本篇内容介绍了“CloudBeaver怎么构建和运行”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

CloudBeaver 是一个基于 Web 的云数据库管理工具,支持 PostgreSQL、MySQL、MariaDB、SQLite 和 Firebird 等数据库。

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 技术

技术栈

CloudBeaver怎么构建和运行

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

“CloudBeaver怎么构建和运行”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注云网站,小编将为大家输出更多高质量的实用文章!

赞(0)
文章名称:《CloudBeaver怎么构建和运行》
文章链接:https://www.fzvps.com/114296.html
本站文章来源于互联网,如有侵权,请联系管理删除,本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。
图片版权归属各自创作者所有,图片水印出于防止被无耻之徒盗取劳动成果的目的。

评论 抢沙发

评论前必须登录!