Distributed domain driven design deals with DDD in a distributed environment and how to integrate the different contexts.
Questions tagged [dddd]
45 questions
0
votes
1 answer
Designing Leaderboard Scores in DDD
There are two entities around this problem, mainly
Leaderboard - Which holds the info about type(lowest first/highest first), description, name etc.
Score - The score value submitted by the player which holds player details along with score…

Ayyappa
- 1,876
- 1
- 21
- 41
0
votes
1 answer
How should I handle multiple aggregates root interaction
I have read this post, in this post Udi Dahan talks about many to many relationships.
In that example he explains that in the case of a many to many relationship like the one a job would have with job boards, and taking into account the bounded…

rage77
- 3
- 4
0
votes
1 answer
DDD: It's correct to use Domain Events to guarantee invariants consistency? Do I have alternatives?
In my domain model I have the project entity (which is also aggregate root) which has products entity as child. One of the invariants of my domain model is that I can't have two products with the same code children of the same project (but is ok if…

Tommy
- 11
- 5
0
votes
1 answer
DDD using STE vs POCO
Developing n-layered application with DDD (o better DDDD because we are using WCF) using Microsoft technology (where we have full controll of all component), the best choise seems to be STE vs POCO (this last one force the usage of DTOs). That's…

Andrea
- 803
- 1
- 12
- 27
0
votes
1 answer
How to manage two coupled aggregates in DDD?
I am developing Electric Vehicle Charging Station Management System, which is connected to several Charging Stations, and I am in an impasse. In this domain, I've come up with an aggregate for the Charging Station, which includes the internal state…

Henke
- 364
- 6
- 13
0
votes
2 answers
Domain Events for syncing data to other microservices
I am trying to learn more about DDD and was going through the DomainEvents. Let's say we have three microservices Service A, Service B and Service C.
Service A has an entity Foo defined as below:
public class Foo : AggregateRoot
{
public string…

iam.Carrot
- 4,976
- 2
- 24
- 71
0
votes
1 answer
How domain events can be communicated (published / subscribed) across bounded context
An open host service is a way of mapping between contexts that is appropriate for cases where you would expose access via APIs. What is a good way to represent a mapping beween contexts, where you intend to publish / consume domain events?

plasmadrive
- 31
- 2
0
votes
2 answers
How to converge state inside distributed bounded context with the possibility of conflicts?
I have a bounded context for domain-specific task management. Some user (called coordinator) can create task and assign it to another user (called executor). Executor can complete task at some time later. In the meantime coordinator can reassign the…

Nikolay Artamonov
- 567
- 5
- 12
0
votes
1 answer
Microservice and service collaboration
In the context of a Microservice architecture, a single business operation can require collaboration between two or more services.
Suppose we have an Order Management Service and a Product Catalog Service.
When the user adds an order item to an…

Riana
- 689
- 6
- 22
0
votes
1 answer
Which is the best way to separate aggregate in DDD
I'm learning about DDD, I don't clear about how to separate objects into aggregate.
An example:
I have 3 objects: company, shop, job.
And i have some relationships: one company has many shops and one shop has many jobs.
I thinks:
A shop can't…

Lost Heaven 0809
- 396
- 2
- 7
- 23
0
votes
0 answers
|#1060 - Duplicate column name 'id'
This is my mysql statement:
SELECT * FROM(SELECT * FROM icci_conf_detail,icci_conf_location WHERE
icci_conf_detail.conf_loc=icci_conf_location.location_name AND
icci_conf_detail.is_country='international' AND icci_conf_detail.is_active='1' …
0
votes
3 answers
Repository or ServiceAgent in DDD
I have a system that talks with the database using repositories. What is the correct definition when it is a remote service? Or better,
Repository is for databases as [...] is for external Web-Services.
I found in many places about ServiceAgents but…

Nikos Baxevanis
- 10,868
- 2
- 46
- 80
0
votes
1 answer
How can i create two aggregates in different bounded contexts?
Question about integrating bounded contexts.
For example. I have organization AR in indentity BC. And courier service AR in logistics BC. They must be connected.
organization AR consists of:
OrganizationId
Name
TaxCode
LegalAddress
...
courier…

Yury Golikov
- 129
- 1
- 9
-1
votes
1 answer
What is the best approach in adding projects on a Domain Driven Design DDD having multiple databases?
Solution Projects:
API - contains controller and exposes API
Application - contains specific business rule only applied for the an API
Common - contains constants
Domain - it contains the entities which uses the onion architecture of…

choopau
- 2,209
- 5
- 21
- 28