同步操作将从 Gitee 极速下载/dddplus 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Languages: English | 中文
DDDplus, originally cp-ddd-framework(cp means Central Platform:中台), is a lightweight DDD Enhancement Framework for complex business architecture.
It captures DDD missing concepts and patches the building block. It empowers building domain model with forward and reverse modeling. It visualizes the complete domain knowledge from code. It connects frontline developers with (architect, product manager, business stakeholder, management team). It makes (analysis, design, design review, implementation, code review, test) a positive feedback closed-loop. It strengthens building extension oriented flexible software solution. It eliminates frequently encountered misunderstanding of DDD via thorough javadoc for each building block with detailed example.
In short, the 3 most essential plus
are:
Used for several complex critical central platform projects in production environment.
A full demo of DDDplus forward/reverse modeling ->
<dependency>
<groupId>io.github.dddplus</groupId>
<artifactId>dddplus-runtime</artifactId>
</dependency>
@SpringBootApplication(scanBasePackages = {"${your base packages}", "io.github.dddplus"})
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class);
}
}
<dependency>
<groupId>io.github.dddplus</groupId>
<artifactId>dddplus-visualization</artifactId>
</dependency>
Annotate your code With DSL, DDDplus can render domain model in multiple view.
class ReverseModelingTest {
ReverseEngineeringModel model;
@Test
void visualizeDomainModel() {
model = new DomainModelAnalyzer()
.scan("{your module root}")
.analyze();
new PlantUmlRenderer()
.build(model)
.classDiagramSvgFilename("model.svg")
.render(); // read-only searchable graph
new PlainTextRenderer()
.build(model)
.targetFilename("model.txt")
.render(); // mutable, integrated with forward modeling design process
new CallGraphRenderer()
.targetDotFilename("callgraph.dot")
.build(model)
.render(); // the call graph of your domain model
}
}
<dependency>
<groupId>io.github.dddplus</groupId>
<artifactId>dddplus-enforce</artifactId>
<scope>test</scope>
</dependency>
Enable it by writing unit test and integrate it with CI flow.
class ArchitectureGuardTest {
@Test
void enforcement() {
new DDDPlusEnforcer()
.scanPackages("${your base package}")
.enforce();
}
}
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.
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。