37

一个应对复杂业务场景的业务中台开发框架

 3 years ago
source link: https://github.com/funkygao/cp-ddd-framework/blob/master/README.md
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

cp-ddd-framework (Central Platform:中台)

  • What is cp-ddd-framework
  • Example using cp-ddd-framework
  • Landscape of Central Platform

What is cp-ddd-framework?

cp-ddd-framework is a lightweight development framework for complex business architecture.

轻量级业务中台开发框架,以DDD思想为基础,融合业务中台核心要素,赋能业务中台建设。

融合了DDD、前中台复杂生态协作方法论,同时充分考虑组织、历史债、运维和落地成本以及风险而开发的,是 业务中台架构的整体解决方案

What problems does it solve

  • born for biz extension, the OCP
  • help evolve the system without corruption
  • 业务逻辑的个性化:uncertain biz logic
  • 业务流程的个性化:uncertain biz flow
  • 业务模型的个性化:uncertain biz model
  • 业务前台与中台如何协同:synergy between BP and CP teams
  • 如何让中台架构特色的DDD稳稳当当落地:DDD seamlessly landing in code
  • 如何降低系统实现的复杂度:reduce entropy of the system
  • 普通研发如何编写出优雅的业务代码:low threshold for average developer to build elegant biz code
  • and more

Key features

  • layered extension point
  • model schema extension
  • business flows orchestration
  • dynamic loading business extension jar
  • isolation of business runtime
  • best practice of DDD
  • and more

Key abstractions

这14个核心抽象,勾勒出业务中台的骨架,以不变应万变。

Requirements

Requires Java 1.8+ and Spring 4.3.12.RELEASE or later.

Modules

cp-ddd-spec

Specification of the framework.

cp-ddd-runtime

Runtime implementation of the framework.

cp-ddd-enforce

Enforce expected evolvement of the business architecture based upon ArchUnit.

Example using cp-ddd-framework

See the cp-ddd-example .

使用该框架搭建 订单中台 的例子。

Landscape of Central Platform

业务中台建设全景图。

yaeQZnB.png!mobile

Reference guide

Please go to cp-ddd-framework Javadoc .

Building from Source

git clone https://github.com/funkygao/cp-ddd-framework.git
cd cp-ddd-framework
mvn clean install

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 .

Licensing

cp-ddd-framework 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 Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK