Skip to content

Easy Bricks (formerly named Brick Next) is a front-end framework to build highly-pluggable and highly-configurable enterprise user interface solutions, a.k.a a low-code framework, which scales and for enterprise.

License

Notifications You must be signed in to change notification settings

andrelils/next-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Bricks Core

CI Status Coverage Status Cypress Status

English | 简体中文

Introduction

Easy Bricks (formerly named Brick Next) is a front-end framework to build highly-pluggable and highly-configurable enterprise user interface solutions, a.k.a a low-code framework, which scales and for enterprise.

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

This repository is the core of Easy Bricks, to play with Easy Bricks, please refer to easyops-cn/next-demo which is a ready-to-run repository, which demonstrate how to build micro-apps, as well as how to make custom bricks.

Table of contents:

Easy Bricks Under the Hood

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

+---------------------------------------------------------------+
|                      Easy Bricks 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.

  • Easy Bricks 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 real world examples of brick packages and micro-apps in easyops-cn/next-basics.

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

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

Roadmap

  • Q1 2021:
    • Make Easy Bricks Core and some basic brick packages open source.
    • Publish Easy MA Builder, which is based on a Docker image with EasyOps Platform included (server side services).
    • Documentation website.
    • Micro-App Marketplace.
  • Q2 2021:
    • Auto testing for micro-apps.
    • Online coding on Easy MA Builder (for advanced developers).

Easy MA Builder - a visualization builder for micro-apps, is just on the way to public soon, please stay tuned.

Visual builder

Contributing

See Contribution Guide.

License

Easy Bricks Core is GPL-3.0 licensed.

简体中文

简介

Easy Bricks (以前称为 Brick Next )是优维科技的新一代前端框架,旨在提供一套高度插件化、高度可配置化的企业用户界面解决方案,也即一个可扩展的、企业级的低代码开发框架。

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

本仓库是 Easy Bricks 的核心库,如果希望体验 Easy Bricks,可以参考 easyops-cn/next-demo,这是一个准备就绪的仓库,用以演示如何编排微应用,以及如何创建自定义构件。

目录:

Easy Bricks 揭秘

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

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

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

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

  • 所有的构件包和微应用都可以独立部署。它们就像插件一样工作。可以看看真实世界中的例子:在仓库 easyops-cn/next-basics 中的构件包微应用

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

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

路线图

  • 2021 年第一季度:
    • 开源构件框架 Easy Bricks Core 和一些基本构件包;
    • 发布可视化编排 Easy MA Builder Docker 镜像,包含服务端组件;
    • 文档站点;
    • 微应用市场。
  • 2021 年第二季度:
    • 针对微应用的自动化测试能力;
    • 在 Easy MA Builder 上集成代码开发能力(针对高级开发者)。

Easy MA Builder -- 可视化的微应用编排工具不久后就将公开,敬请期待。

Visual builder

贡献指南

请查看贡献指南

许可协议

Easy Bricks Core 使用 GPL-3.0 协议

About

Easy Bricks (formerly named Brick Next) is a front-end framework to build highly-pluggable and highly-configurable enterprise user interface solutions, a.k.a a low-code framework, which scales and for enterprise.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 82.4%
  • JavaScript 14.4%
  • CSS 1.2%
  • Less 1.2%
  • Python 0.5%
  • Shell 0.2%
  • EJS 0.1%