New answers tagged domain-driven-design
2
votes
Side effect as a common object seems like a bad pattern
Giving discounts in an auction sounds counter intuitive and potentially illegal, but generally the approach for "modifiers to an order" would be to define the logic for each discount type in ...
2
votes
Accepted
Referencing another ARs value object
No - as long as the value object is immutable widely shared references to it are not a problem. This is because taking a reference to an immutable object is effectively the same as taking a copy of it....
3
votes
Domain Driven Design: ElasticSearch and Postgres together
Let me set the stage. A microservice is a self-contained(!) application that handles a single(~) small(~) business capability of a bigger system.
DDD is an idea that we shouldn't concentrate on ...
1
vote
Alternatives to DDD - Complicated and cumbersome business logic/process
There is no architecture, design pattern or development philosophy that fixes this. Domain-driven development was conceived precisely for complex applications. Eric Evan's book "Domain-Driven ...
2
votes
The difference between Repository and DAO
The critical difference between the Repository pattern and the Data Access Object pattern is that the former deals with domain concepts, while the latter deals with technology-specific implementation ...
0
votes
How to model Product and Material relationship using DDD
DDD is a technique for solving complex business problems.
When creating a domain model, forget about the relational database.
Start with drawing a model on a whiteboard together with a domain expert. ...
0
votes
How to model Product and Material relationship using DDD
How my repository will kow a ProductMaterial was removed/updated from a product
By executing a database query, or employing some form of change tracking. If you need to make sure a database response ...
0
votes
How to model Product and Material relationship using DDD
Let's answer the question parts one by one.
How my repository will know a ProductMaterial was removed/updated from
Product?
The Repository is responsible for persisting an Entity or a Value Object; ...
2
votes
Domain Driven Design and Systems Analysts
This is a broader question not specifically related to either DDD nor Systems Analysts.
It's pretty easy to see and even test that all layers of communication will distort, compress, remove signal, ...
Top 50 recent answers are included
Related Tags
domain-driven-design × 1433c# × 231
architecture × 201
design-patterns × 170
domain-model × 161
design × 149
cqrs × 141
aggregate × 130
object-oriented × 112
event-sourcing × 107
object-oriented-design × 96
microservices × 64
java × 59
repository × 39
entity × 39
enterprise-architecture × 32
repository-pattern × 30
rest × 28
entity-framework × 27
orm × 27
validation × 27
value-object × 27
architectural-patterns × 26
php × 25
clean-architecture × 23