domain-driven-design Questions
3
Solved
Just starting with Domain Driven Design and I've learned that you should keep your model in a valid state and when creating a new instance of a class it's recomended to put all required attributes ...
Salto asked 16/12, 2015 at 15:15
6
Not sure what happened to Bold/Eco during the Borland/Codegear/Embarcadero transition but I sure miss it in the newer versions of Delphi. Anyone know of a framework that comes close?
If not, maybe...
Pill asked 3/8, 2010 at 18:3
4
Solved
I've read countless posts on differences between Entities and Value objects and while I do think that at least conceptually I understand how the two differ, it appears that in some of these posts a...
Cipher asked 15/1, 2014 at 18:4
7
I don't get why value objects in DDD should be immutable, nor do I see how this is easily done. (I'm focusing on C# and Entity Framework, if that matters.)
For example, let's consider the classic ...
Parasang asked 3/1, 2011 at 1:55
4
I am working on a program in golang, which I am sructuring based on Hexagonal Architecture. I think I have my head wrapped mostly around the idea, but there is something I just can't figure out.
Th...
Hendecagon asked 15/8, 2021 at 5:44
13
I've read Eric Evan's book and am reading Vaughn Vernon's book now. I'm in the second chapter where he talks about subdomains and bounded context and am thoroughly confused now.
From what I was ab...
Tanager asked 4/9, 2013 at 23:45
7
Solved
I am currently working on a project where I have a BankAccount entity for some other entity.
Each bank account is a reference to a bank entity, an account number, and optionally an IBAN.
Now since ...
Spyglass asked 5/1, 2010 at 14:7
3
Solved
I have been reading about using Command objects to represent use cases that our domain exposes, and Command Handler objects to process those commands.
For example:
RegisterUserCommand
RegisterUs...
Insphere asked 29/6, 2014 at 9:40
3
Solved
I'm creating an application facade in front of my domain model and using dto's for the exchanges between the consumer and the facade.
In order to avoid having to fully qualify my namespaces where ...
Charis asked 22/9, 2011 at 20:3
1
I've got a simple document management system I'm putting together, I'm trying to follow solid DDD principals and things have been coming together. One area I've been questioning is what the cleanes...
Musketeer asked 19/1, 2019 at 0:58
2
Solved
As I understand it, one of the key rules of Hexagonal Architecture is how the Domain Layer is isolated from everything except the Application Layer which works with it (the Domain Layer has no depe...
Targe asked 24/3, 2021 at 16:36
2
Solved
Eric in his book touches the subject of Modules very little. He also does not talk about the relation of the structure of modules to bounded contexts with examples. Do Bounded Contexts contain modu...
Zosema asked 24/12, 2012 at 13:42
4
Solved
Please what is the main difference between entities and aggregate roots in domain driven design. For example in entity framework, what is the use of aggregates if I can ensure data integrity entiti...
Koester asked 2/9, 2015 at 12:57
2
Solved
In the Evan's DDD book he speaks of segregating concepts in the domain with "modules". The term "module" can be translated to a number of different things in software development, both conceptual a...
Isleen asked 23/3, 2010 at 20:47
5
Solved
What is the difference between CQRS (Command Query Responsibility Segregation) and Event Sourcing?
I believe Event Sourcing is a type of CQRS. What distinguishes each, and what makes Event Sourcin...
Insurer asked 1/11, 2017 at 5:38
5
Our team is starting a new project following Domain Driven Design (DDD). At the high level, we have an API on the top of our domain which enables a client to perform operations on the domain. One o...
Thresher asked 18/10, 2018 at 21:41
3
I would like to know how can a domain event be implemented (in DDD) if it is not a natural result of an aggregate's state change.
I will borrow the example of this post.
So lets say that we need an...
Lectureship asked 4/3, 2023 at 9:25
2
Solved
In Domain-Driven Design, the domain model should be completely unbeknownst of any data persistent specifics.
Let's say that an Employee belongs to a Department. The domain entities could look lik...
Lodmilla asked 12/12, 2013 at 7:50
4
Solved
I am confused about where to handle domain events in an application that is based on the hexagonal architecture. I am talking about the bounded-context-internal domain events, and not about inter-c...
Messick asked 18/4, 2021 at 11:51
1
Solved
In our Spring Boot 3 (Kotlin) project, we apply domain-driven design and want to avoid primitive obsession in entities and repositories (especially IDs, which often are of type GUID and can easily ...
Torque asked 21/9, 2023 at 12:9
2
Solved
I've been trying to use a value object as a unique id in entity framework core. I've gotten to the point where it is saving to the database correctly, but EF is not querying the database correctly ...
Agamemnon asked 15/11, 2018 at 21:32
4
Our team decided to use Domain Driven Design architecture for our project. Now the discussion is going on for, "can we use ASP.NET Identity in DDD?".
Is there any disadvantages on using ASP.NET i...
Plait asked 1/4, 2014 at 6:23
3
In my business logic I have to deal with a lot of entity IDs, all of them of type String, which can cause confusion especially when you pass a couple of them as method parameters. So I thought abou...
Desai asked 3/1, 2020 at 15:50
3
Solved
Given I have two microservices: Service A and Service B.
Service A owns full customer data and Service B requires a small subset of this data (which it gets from Service A through some bulk load sa...
Koal asked 11/12, 2020 at 16:8
2
Solved
or to create a domain layer that is consisted of domain models and talk to JPA entities for database accessing?
What are the pros and cons for both approaches ? Thanks!
Tailwind asked 5/4, 2013 at 15:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.