Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Domain-driven design (DDD) is an approach to develop software for complex needs by connecting the implementation to an evolving model.
0
votes
0
answers
429
views
How to update complex entities in DDD
let's say I have the following aggregate:
class Road:
company_id: int # another aggregate
name: str
stops: List[Stop]
def add_stop(stop: Stop):
stops.append(stop)
class Stop: …
0
votes
2
answers
144
views
How to model Company aggregate containing a lot of users
Domain context and requirements
So let's say I have the following concepts in my domain:
Company: it's just a bunch of data related to a company. Name, creation date, assigned CSA, etc.
User: again, …
0
votes
4
answers
787
views
Should an aggregate root from another bounded context have a repository in another bounded c...
Right now we have a monolith application, and we will still have one monolith probably for the following years. What we are trying to do though, is to break the responsibilities more clearly in well-d …
3
votes
2
answers
3k
views
How to update "big" aggregatess in DDD
In my domain there's a part where I have a root entity, with some fields, and then some other entity inside that aggregate, like this:
class AggregateRootEntity {
... some fields ...
Entity list …
0
votes
0
answers
79
views
How handle foreign keys in bounded contexts inside a monolith?
in my company we have a Django monolithic application. To be clear, we are not looking into moving to micro-services. For the past few months, I have reading and implementing a DDD architecture inside …
0
votes
1
answer
137
views
How to model two bounded contexts with tight coupling between them
Context
Hello, at my company we have been working with DDD for some time now. We have a monolith and some services. The bounded contexts in the monolith use HTTP calls to communicate between them or d …