Comments (1)
博主您好,我在掘金看了您写的DDD文章并发现了demo,非常精彩,不过我在对比文章中的工程结构和demo的工程结构发现有些地方对不上,比如domain下并没有adapter,还有聚合根在domain中也是没有的,一点点有疑惑,还望您不要介意,特别感谢您能给出这么好的案例让我们学习。
感谢你对我的demo与文章输出的认可。关于你提出的结构问题,我在demo的readme开头说明了奥。博客中是是最开始我做迁移的时候定的架构。但是实际应用上发现庞大的业务系统下面,这样的结构依赖层级关系与结构分层不够清晰。因此我与一些落地DDD实践的朋友们共同讨论了这一块的结构,得出了demo的分层。你可以以demo中的结构为准,后续如果对demo结构有更新改进,也会第一时间更新在demo中。
from ddd-demo.
Related Issues (5)
- 需要调整的地方 HOT 1
- 那个防腐 UserInterface 到底要怎么实现落地,能给个示例吗? HOT 1
- 我们之间DDD的不同之处 HOT 1
- 关于UserApplicationService craete和updateUserName疑问 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddd-demo.