Skip to content

easyops-cn/next-core

Repository files navigation

Brick Next Core

CI Status Coverage Status Cypress Status

English | 简体中文

Introduction

Brick Next is a low-code engine library based on Web Components, for building highly-pluggable and highly-configurable enterprise user interface solutions.

The front-end of UWinTech's brand new DevOps platform EasyOps is fully built on Brick Next. Hundreds of micro-apps are rapidly and continuously delivered to our enterprise clients. Building enterprise productivity tools has never been easier.

Want to give it a try? Check out our tutorial.

Table of contents:

Brick Next Under the Hood

+------------------------------+      +--------------------+
|        Brick Package         |      |     Micro App      |
| +---------+  +---------+     | ...  |  +--------------+  | ...
| | Brick A |  | Brick B | ... |      |  |  Storyboard  |  |
| +---------+  +---------+     |      |  +--------------+  |
+------------------------------+      +--------------------+

+---------------------------------------------------------------+
|                      Brick Next Core                         |
+---------------------------------------------------------------+
  • Brick packages define reusable bricks. Bricks are similar to components, but with more encapsulations, and can be easily consumed by declarations without programming. Actually bricks are Web Components. Bricks can be business-free small UI components, and can be business-ful large components too.

  • Micro-apps are assembled from bricks by declaring a Storyboard. Storyboards can be defined by a YAML or JSON, or be made from a visualization tool.

  • Brick Next Core is responsible for parsing storyboards of micro-apps and mounting bricks accordingly.

  • All brick packages and micro-apps are independently deployable. They work as plugins. Check out the official brick library.

By using Brick Next, which provides hundreds of bricks out of the box, users with limited programming skills can build an app in days even in hours, from scratch 🍻.

On the other hand, advanced developers can also create their own bricks for complex businesses.

Contributing

See Contribution Guide.

License

Brick Next Core is GPL-3.0 licensed.

简体中文

简介

Brick Next 是一个基于 Web Components 的低代码引擎库,旨在提供一套高度插件化、高度可配置化的企业用户界面解决方案。

优维科技全新的 DevOps 平台 EasyOps 的前端整个基于 Brick Next 搭建。数百个企业级的微应用得以快速地、持续地交付给我们的企业客户。搭建企业级生产力工具从未如此简单。

想试用一下?请查看我们的教程

目录:

Brick Next 揭秘

+------------------------------+      +--------------------+
|        Brick Package         |      |     Micro App      |
| +---------+  +---------+     | ...  |  +--------------+  | ...
| | Brick A |  | Brick B | ... |      |  |  Storyboard  |  |
| +---------+  +---------+     |      |  +--------------+  |
+------------------------------+      +--------------------+

+---------------------------------------------------------------+
|                      Brick Next Core                         |
+---------------------------------------------------------------+
  • 构件包负责定义可重用的构件。构件和组件类似,但是有更高度的封装,并且可以很容易地通过声明的方式消费它们,无需编程。事实上,构件就是 Web Components。构件可以是业务无关的、小的 UI 组件,也可以是包含业务特性的、大型的组件。

  • 微应用由构件组装而来,构件如何组装定义在一个 Storyboard 中。Storyboard 可以用一个 YAML 或 JSON 配置,也可以通过可视化工具编排出来。

  • Brick Next Core 负责解析微应用的 storyboards,并按照定义装载相应的构件。

  • 所有的构件包和微应用都可以独立部署。它们就像插件一样工作。可以看看官方构件库

如果使用 Brick Next,通过我们提供的开箱即用的数百个构件,即使是只有少量编程技巧的用户,也可以在短短几天、甚至几小时内从头搭建一个应用出来。

另一方面,高级开发者也可以创建自己的构件,以满足复杂的业务需求。

贡献指南

请查看贡献指南

许可协议

Brick Next Core 使用 GPL-3.0 协议