Skip to content

A lightweight flexible development framework for complex business architecture!轻量级业务中台开发框架,中台架构的顶层设计和完整解决方案!

License

caserffer/cp-ddd-framework

 
 

Repository files navigation

Mavenn Central Requirement CI Code Quality: Java Maintainability Coverage Status TODO

Table of content

Table of content


What is DDDplus?

DDDplus, originally cp-ddd-framework(cp means Central Platform:中台), is a lightweight flexible development framework for complex business architecture.

一套轻量级业务中台开发框架,以DDD思想为本,致力于业务资产的可沉淀可传承,全方位解决复杂业务场景的扩展问题,实现中台核心要素,赋能中台建设。

融合了前中台复杂生态协作方法论,充分考虑组织架构、技术债、学习门槛、可演进性、运维成本和风险而开发的,解决业务开发痛点,是中台架构的顶层设计和完整解决方案。

Current status

Used for several complex critical central platform projects in production environment.

多个复杂的中台核心项目生产环境下使用。

Quickstart

Please visit Quickstart.

Features

  • Based on DDD, but beyond DDD
  • 14 key business abstractions cover most complex business scenarios
  • Full layered extensibility
  • Empowers InnerSource
  • Total solutions oriented

核心特性:

  • 以DDD架构思想为本,面向复杂业务场景架构设计
    • 通过代码框架提供足够约束,让DDD不再仅停留在思想层面
    • 降低DDD上手门槛,为研发减负,防止落地偏差
    • 降低复杂度,持续保障业务资产的可沉淀可传承
    • 提供dddplus-archetype,自动生成包含最佳实践的工程脚手架
  • 14个核心业务抽象(常用的9个),勾勒出业务中台骨架
    • 中台架构的顶层设计
    • 以不变应万变
    • 研发填空式开发
  • 全方位解决业务的不确定性
    • 业务逻辑、流程、逻辑模型、数据模型的扩展、多态体系
    • 框架本身支持再次扩展
    • 扩展业务包支持不重启热更新
  • 支撑中台战略的复杂生态协作
    • 前台、中台解耦
    • 业务隔离
    • InnerSource协同机制
  • 完整的解决方案
    • 业务能力演化,业务测试,最佳实践,架构持续防腐,重构的导流验证,绞杀者落地方案等
    • 提供一套完整的Demo工程,手把手真实场景教学

Modules

dddplus
   ├── dddplus-spec    - Specification of DDDplus
   ├── dddplus-runtime - Runtime implementation
   ├── dddplus-plugin  - Plugin jar hot reloading mechanism
   ├── dddplus-unit    - Extra unit test facilities
   ├── dddplus-enforce - Enforce expected evolvement of the business architecture
   └── dddplus-test    - Fully covered unit test cases

Key abstractions

Reference documentation

Please visit Javadoc.

Using DDDplus

已推送至Maven中央库,可直接引入。

Maven

<properties>
    <dddplus.version>1.0.1</dddplus.version>
</properties>

<dependency>
    <groupId>io.github.dddplus</groupId>
    <artifactId>dddplus-runtime</artifactId>
    <version>${dddplus.version}</version>
</dependency>

Gradle

dependencies {
    ...
    compile 'io.github.dddplus:dddplus-runtime:1.0.1'
}

Building from Source

git clone https://github.com/funkygao/cp-ddd-framework.git
cd cp-ddd-framework/
mvn install # will run all test cases

The Demo

Please visit 使用该框架搭建订单履约中台的例子.

FAQ

Please visit FAQ.

Landscape of Central Platform

业务中台建设全景图。

Contribution

You are welcome to contribute to the project with pull requests on GitHub.

If you find a bug or want to request a feature, please use the Issue Tracker.

For any question, you can use Gitter Chat to ask.

Licensing

DDDplus is licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

About

A lightweight flexible development framework for complex business architecture!轻量级业务中台开发框架,中台架构的顶层设计和完整解决方案!

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.6%
  • Makefile 0.4%