Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[arch] DDD架构-CRQS #2

Open
Alice52 opened this issue Sep 21, 2023 · 1 comment
Open

[arch] DDD架构-CRQS #2

Alice52 opened this issue Sep 21, 2023 · 1 comment

Comments

@Alice52
Copy link

Alice52 commented Sep 21, 2023

  1. 六边形架构
  2. 洋葱圈架构
@Alice52
Copy link
Author

Alice52 commented Sep 25, 2023

  1. 新增的模型没有给你带来收益。比如有没有帮助系统解耦,有没有提升业务语义表达能力的提升,有没有提升系统的可维护性和可测性等等
  2. 统一语言、边界上下文、防腐层(应用不要直接依赖外域的信息,要把外域的信息转换成自己领域上下文(Context)的实体再去使用,从而实现本域和外部依赖的解耦)
  3. 领域建模,就是对问题域进行抽象,找到核心概念(实体),然后再构建实体之间的关系的过程: 组合,使用,继承、泛化

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant