Volver al ranking

funkygao/cp-ddd-framework

Javagithub.com/dddplus

轻量级DDD正向/逆向业务建模框架,支撑复杂业务系统的架构演化!

dddextensionddd-architectureclean-architectureframeworkenterprise-architecturedomain-driven-designdddplusreverse-engineeringarchitecturemodeling
Crecimiento de estrellas
Estrellas
1.2k
Forks
277
Crecimiento semanal
Issues
2
5001k
sept 2020ago 2022ago 2024jul 2026
ArtefactosMavengit clone https://github.com/funkygao/cp-ddd-framework.git
README

DDDplus

A lightweight DDD(Domain Driven Design) enhancement framework for forward/reverse business modeling, supporting complex system architecture evolution!

CI Javadoc Maven Central Requirement Coverage Status Mentioned in Awesome DDD Gitter chat

Languages: English | 中文 | deepwiki


What is DDDplus?

DDDplus, formerly named cp-ddd-framework(cp means Central Platform:中台), is a lightweight DDD(Domain Driven Design) enhancement framework for forward/reverse business modeling, supporting complex system architecture evolution!

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:

  1. patch DDD building blocks for pragmatic forward modeling, clearing obstacles of DDD implementation
  2. offer a reverse modeling DSL, visualizing complete domain knowledge from code
  3. provide extension point with multiple routing mechanism, suited for complex business scenarios

Current status

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

Showcase

A full demo of DDDplus forward/reverse modeling ->

Quickstart

Forward modeling

<dependency>
    <groupId>io.github.dddplus</groupId>
    <artifactId>dddplus-runtime</artifactId>
</dependency>

Integration with SpringBoot

@SpringBootApplication(scanBasePackages = {"${your base packages}", "io.github.dddplus"})
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class);
    }
}

Reverse Modeling

Please check out the 《step by step guide》.

<dependency>
    <groupId>io.github.dddplus</groupId>
    <artifactId>dddplus-spec</artifactId>
</dependency>

Annotate your code With DSL, DDDplus will parse AST and render domain model in multiple views.

mvn io.github.dddplus:dddplus-maven-plugin:model \
    -DrootDir=${colon separated source code dirs} \
    -DplantUml=${target business model in svg format} \
    -DtextModel=${target business model in txt format}

Architecture Guard

mvn io.github.dddplus:dddplus-maven-plugin:enforce \
    -DrootPackage={your pkg} \
    -DrootDir={your src dir}

Known Issues

  • reverse modeling assumes unique class names within a code repo

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.

Repositorios relacionados
dotnet-architecture/eShopOnContainers

Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.

C#dockernetcore
dot.net/architecture
24.3k10.1k
ardalis/CleanArchitecture

Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10

C#MIT Licenseclean-architecturearchitecture
18.3k3.1k
Sairyss/domain-driven-hexagon

Learn Domain-Driven Design, software architecture, design patterns, best practices. Code examples included

TypeScriptnpmMIT Licensedomain-driven-designhexagonal-architecture
14.8k1.6k
kgrzybek/modular-monolith-with-ddd

Full Modular Monolith application with Domain-Driven Design approach.

C#MIT Licensedddddd-architecture
13.9k2.2k
fuzhengwei/CodeGuide

:books: 本代码库是作者小傅哥多年从事一线互联网 Java 开发的学习历程技术汇总,旨在为大家提供一个清晰详细的学习教程,侧重点更倾向编写Java核心内容。如果本仓库能为您提供帮助,请给予支持(关注、点赞、分享)!

ShellApache License 2.0javajavafx
bugstack.cn
11.9k4.2k
mehdihadeli/awesome-software-architecture

📚 A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.

Creative Commons Zero v1.0 Universalarchitectureddd
awesome-architecture.com
11.4k993
dotnet-architecture/eShopOnWeb

Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb

C#MIT Licenseasp-net-coreasp-net-core-mvc
10.7k6k
EduardoPires/EquinoxProject

Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices

C#MIT Licenseequinoxcqrs
equinoxproject.azurewebsites.net
6.8k1.7k
gotson/komga

Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS, Kobo Sync and KOReader Sync support

KotlinMIT Licensekotlinspring-boot
komga.org
6.5k386
ThreeDotsLabs/wild-workouts-go-ddd-example

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

GoGo ModulesMIT Licensegogolang
threedots.tech
6.4k583
ddd-by-examples/library

A comprehensive Domain-Driven Design example with problem space strategic analysis and various tactical patterns.

JavaMavenMIT Licensedomain-driven-designddd
5.8k828
thangchung/go-coffeeshop

☕ A practical event-driven microservices demo built with Golang. Nomad, Consul Connect, Vault, and Terraform for deployment

GoGo ModulesMIT Licenseclean-architectureecho-framework
4.4k455