开放代码社区 › Nop Platform 低代码开发平台

Nop Platform 低代码开发平台

开发工具Java

Nop Platform 2.0 是基于可逆计算原理从零构建的面向语言编程低代码平台,包含 GraphQL、ORM、工作流、报表、规则、批处理等自研引擎,可根据 Excel 数据模型自动生成 GraphQL/REST/gRPC 服务,支持差量定制与 GraalVM 原生编译,适用于企业级应用开发、SAAS 平台底座及 AI 时代软件智能生产探索。

AI/机器学习Web后端前端工具数据库
作者:用户6868语言:Java更新:2026-10-27
仓库地址
https://gitee.com/canonical-entropy/nop-entropy.git

前往原仓库

README

[[English]](README.en.md)   [[Tutorial]](./docs/tutorial/tutorial_en.md)  [[开发示例]](./docs/tutorial/tutorial.md) [[介绍和答疑视频]](https://www.bilibili.com/video/BV1u84y1w7kX/)

# Nop Platform 2.0

[![](https://img.shields.io/github/stars/entropy-cloud/nop-entropy)](https://github.com/entropy-cloud/nop-entropy/stargazers)
[![](https://gitee.com/canonical-entropy/nop-entropy/badge/star.svg?theme=white)](https://gitee.com/canonical-entropy/nop-entropy/stargazers)
![star](https://gitcode.com/canonical-entropy/nop-entropy/star/badge.svg)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/entropy-cloud/nop-entropy)

![](https://gitee.com/canonical-entropy/nop-entropy/raw/master/docs/theory/xlang-review/xlang-theory.svg)

## 介绍

[可逆计算:下一代软件构造理论](https://zhuanlan.zhihu.com/p/64004026)

[让演化可编程:XLang 与可逆计算的结构化范式](https://zhuanlan.zhihu.com/p/1942216215067100536)

**Nop is nOt Programming(非编程)**

Nop Platform 2.0 is a next-generation low-code development platform built from scratch based on the principles of reversible computation, adopting a language-oriented programming paradigm. It includes a suite of fully designed engines such as a GraphQL engine, ORM engine, workflow engine, reporting engine, rule engine, and batch processing engine, all developed from scratch based on new principles. It automatically generates GraphQL/REST/gRPC services according to Excel data models, allowing for customized development without modifying the source code of the basic product. It supports native compilation with GraalVM, and is free for commercial use by small and medium-sized enterprises.

The underlying architecture of the Nop platform does not utilize third-party frameworks such as Spring. Instead, it has been redesigned and implemented based on new software construction principles, greatly reducing the complexity of the framework’s internal structure while significantly enhancing its flexibility, scalability, and performance. Its design goal is to explore next-generation software production technologies, laying the technical foundation for intelligent software production in the AI era.

Nop Platform 2.0是基于可逆计算原理从零开始构建的采用面向语言编程范式的下一代低代码开发平台。包含基于全新原理从零开始研发的GraphQL引擎、ORM引擎、工作流引擎、报表引擎、规则引擎、批处理引引擎等完整设计,根据Excel数据模型自动生成GraphQL/REST/gRPC服务,定制化开发无需修改基础产品源码,支持GraalVM原生编译,中小企业可以免费商用。

**Nop平台的底层没有使用Spring等第三方框架,而是基于新的软件构造原理重新设计并实现,极大降低了框架内在结构的复杂性,同时大幅提升框架的灵活性、可扩展性和性能。它的设计目标是探索下一代软件生产技术,为AI时代的软件智能生产奠定技术基础**

- nop-entropy是Nop平台的后端部分。它采用Java语言实现,不依赖第三方框架,可以和Quarkus、Spring或者Solon框架集成在一起使用。

- nop-entropy支持GraalVM技术,可以借助于[Quarkus](https://quarkus.io/)
  或者[SpringNative](https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/)
  框架编译为原生可执行程序,运行时不需要安装JDK,且启动速度提升数十倍。

- **nop-entropy的设计目标是成为简单易用的领域语言工作台(Domain Language Workbench)**
  。在Nop平台中,我们一般并不直接使用通用的程序语言如Java来表达业务逻辑,而是先设计一个DSL语言,然后再用DSL来表达业务。通过增加简单的元数据定义,就可以自动得到对应的解析器、验证器、IDE插件、调试工具等,并自动为DSL领域语言增加模块分解、差量定制、元编程等通用语言特性。 在这一点上,它类似于Jetbrains公司的[MPS产品](https://www.jetbrains.com/mps/)
  ,只是它的设计原理和技术实现路径与MPS有着本质性差别。

- nop-entropy采用云原生设计,内置分布式事务和多租户支持,可以单机运行,也可以作为分布式集群运行,可以提供在线的API服务,也可以将针对单个业务对象的在线服务自动包装为针对批处理文件的批处理任务。对于大多数业务应用场景均提供相应的模型支持,只需少量配置即可完成主要功能,大大降低对手工编码的需求。

- nop-entropy在开发期可以作为**支持增量式开发的低代码平台**,自动生成各类代码以及相关文档,在运行期可以作为*
  *面向最终用户的无代码平台的支撑技术**,允许客户在线调整业务模块功能,以所见即所得的方式进行产品迭代。**Nop平台可以作为一个非常精巧的通用SAAS平台底座**,基于它只需要做少量包装即可实现一个完善的针对特定领域的SAAS平台。

目前Nop平台开源的部分主要包含XLang语言的实现,以及ORM、依赖注入容器(IoC)、分布式配置(Config)、GraphQLEngine、报表引擎(Report Engine)、任务调度引擎(Job Scheduler)、批处理引擎(Batch Processing Engine)、规则引擎(Rule Engine)、工作流引擎(Workflow Engine)、流处理引擎(Stream Engine)以及AI大模型集成(Gateway/Agent/RAG/MCP)等基础框架,后续规划主要为商业智能(BI)等业务开发常用部分。

> Nop Platform 2.0的代码是由Entropy Platform 1.0重构而来
> 最近增加了对国产框架solon的集成,参见[nop-solon](https://gitee.com/canonical-entropy/nop-extensions/tree/master/nop-solon),打包后的jar包大小相比与Spring和Quarkus要降低10多M。

开发进度:

| 模块              | 说明                            | 进度   |
| --------------- | ----------------------------- | ---- |
| nop-api-support | API接口的支持类                     | 已完成  |
| nop-codegen     | 数据驱动的代码生成器                    | 已完成  |
| nop-antlr       | Antlr的模型驱动改造                  | 已完成  |
| nop-core        | 虚拟文件系统、反射机制、XML/JSON解析        | 已完成  |
| nop-ioc         | 声明式IoC容器                      | 已完成  |
| nop-config      | 动态配置中心                        | 已完成  |
| nop-xlang       | XLang脚本语言和模板语言                | 已完成  |
| nop-dao         | JDBC访问、事务、数据库方言               | 已完成  |
| nop-orm         | 下一代ORM引擎                      | 已完成  |
| nop-graphql     | 下一代GraphQL引擎                  | 已完成  |
| nop-rpc         | 分布式RPC调用                      | 已完成  |
| nop-ooxml       | Office文件的解析和生成,取代POI。Word报表模板 | 已完成  |
| nop-report      | 中国式报表引擎                       | 已完成  |
| nop-rule        | 规则引擎                          | 已完成  |
| nop-autotest    | 模型驱动的自动化测试框架                  | 已完成  |
| nop-idea-plugin | IDEA开发插件,支持语法提示、文件跳转、断点调试     | 基本可用 |
| nop-cli         | 将代码生成器、文件监听等功能封装为命令行工具        | 基本可用 |
| nop-cluster     | 分布式集群支持                       | 50%  |
| nop-tcc         | 分布式事务                         | 已完成 |
| nop-dyn         | 在线设计表单和数据模型、服务函数              | 75%  |
| nop-workflow    | 下一代工作流引擎                      | 65%  |
| nop-task        | 下一代逻辑流编排                      | 基本可用 |
| nop-job         | 分布式任务调度                       | 50%  |
| nop-batch       | 下一代批处理引擎                      | 基本可用 |
| nop-message     | Kafka/Pulsar消息队列封装            | 20%  |
| nop-dbtool      | 数据库导入导出、数据结构比较、同步工具           | 初步实现 |
| nop-metadata    | 元数据管理、数据治理、数据质量              | 40%  |
| nop-nosql       | Redis封装                       | 已完成 |
| nop-stream      | 声明式图模型驱动的流处理引擎,可集成Flink        | 50%  |
| nop-search      | 基于Lucene的全文检索引擎               | 25%  |
| nop-network     | TCP/IP服务处理框架、RPC通信               | 40%  |
| nop-datav       | BI数据分析                        | 0%   |
| nop-ai          | AI大模型集成:MCP、Gateway、Agent、RAG  | 45%  |
| nop-js          | GraalVM Js引擎封装,在Java中运行JS     | 50%  |
| nop-integration | 邮件、短信、文件服务等外部服务封装