domain-driven-design Questions
3
Solved
I am thinking of using Specification pattern for validation purposes. The hard thing is how to tell the user why some Specification was not satisfied. What if the Specification.IsSatisfiedBy() will...
Congest asked 11/3, 2012 at 13:5
2
Solved
I was reading about DDD and CQRS (using Asp.Net Core ,MSSQL), and their different approaches, then I read a topic about separating Read and Write Database ,so I started to search web about how to d...
Bigwig asked 11/8, 2021 at 18:37
1
Solved
I am currently working with DDD and I have a question about application services VS domain services VS repositories interfaces
As I know:
Application services are used for handle the flow of use c...
Unspent asked 8/8, 2021 at 18:27
2
I have been reading recently about Domain Driven Design (DDD), I like the concept and especially the idea of Onion architecture goes with it (https://www.youtube.com/watch?v=pL9XeNjy_z4).
I am qui...
Deflected asked 26/3, 2018 at 9:53
4
Solved
I'm breaking my system into (at least) two bounded-contexts: study-design and survey-planning.
There's a concept named "subject" (potential subject for interviewing) in the study-design context. W...
Bernoulli asked 2/3, 2017 at 18:10
2
Solved
Several sources claim that process managers do not contain any business logic. A Microsoft article for example says this:
You should not use a process manager to implement any business logic in yo...
Dire asked 12/7, 2021 at 5:42
3
Solved
I am currently working on a monolithic system which I would like to bring into the modern day and incorporate DDD and CQRS. I have been presented with a request to re-write the importing mechanism ...
Tic asked 26/4, 2017 at 16:54
1
Solved
Hi good people of Internet :)
I am trying to use EF Core 5 entities as domain entities in a sense of DDD.
I have a case of two entities, each with their own identity (meaning they are Entity type o...
Aft asked 7/7, 2021 at 11:22
9
I have just started reading DDD. I am unable to completely grasp the concept of Entity vs Value objects.. Can someone please explain the problems (maintainability, performance.. etc) a system could...
Modigliani asked 16/9, 2008 at 18:27
1
Solved
In his book, Implementing Domain-Driven Design, Vaughn Vernon states,
When there are User Interface views that render the model and drive execution of its behavior, these are also inside the Bound...
Prong asked 30/6, 2021 at 13:11
3
Solved
Basically, an user wants to change its profile picture.
The web server receives a posted image against /user/35435/profile/picture, so the data needs to be saved, and the LastModification property ...
Herbartian asked 5/6, 2018 at 14:29
4
What would be a rule of thumb when designing an aggregate in DDD?
According to Martin Fowler, aggregate is a cluster of domain objects that can be treated as a single unit. An aggregate will have ...
Shama asked 9/7, 2018 at 10:58
2
Solved
I've read a few articles/posts regarding the use of Getters and Setters, and how they help to defeat the purpose of encapsulation in domain model objects. I understand the logic behind not using se...
Nadabus asked 28/11, 2011 at 3:13
1
Solved
Suppose I have a domain service which implements the following business rule / policy:
If the total price of all products in category 'family' exceeds 1 million, reduce the price by 50% of the fam...
Howler asked 25/4, 2021 at 14:58
4
Solved
Which layer should the repository classes go in? Domain or Infrastructure?
Scholem asked 17/8, 2010 at 3:27
4
Solved
There are classes that are entities according to DDD, and there are classes that have @javax.persistence.Entity annotation. Should they be the same classes? Or should JPA entities act just as a mec...
Bega asked 14/9, 2017 at 20:25
2
In the Pluralsight course Domain-Driven Design Fundamentals, there's an example of how the design of an Aggregate takes shape.
The example involves patient Appointments in a clinic. The appointmen...
Alvey asked 5/9, 2015 at 21:4
2
Solved
I'm reading a lot about hexagonal architecture, but in all the examples that i'm looking, all folders and class ubication are different, and this looks a bit confusing to me.
I've done a simple sp...
Lophophore asked 6/4, 2021 at 15:33
2
I have two an aggregate root referencing another aggregate root (first references the second via the identity of the second aggregate root).
A command from my application layer (via MVC asp.net) n...
Trelliswork asked 20/12, 2011 at 16:50
1
Solved
I've been studying domain-driven design lately and must say this type of architectural design triggers something in me. When I try to apply its concepts to my Go project I've encountered some obsta...
Dardanelles asked 25/2, 2019 at 20:7
1
I've been studying Spring State Machine and State design pattern since I have to develop a microservice with Spring Boot and persisted objects with a lot of confused states that need to be cleared ...
Goggin asked 8/11, 2015 at 10:36
4
I will use Airbnb as an example.
When you sign up an Airbnb account, you can become a host by creating a listing. To create a listing, Airbnb UI guides you through the process of creating a new lis...
Chalkboard asked 8/2, 2021 at 9:12
3
Solved
I have read this and it makes me think twice...:
"Avoid unit of work pattern. Aggregate roots should define transaction boundaries."
Why should someone avoid the UOW pattern applying domain drive...
Sluggish asked 4/2, 2013 at 22:7
4
I read that application service is used to orchestrate, they handle workflows of an application.
Eg: After transferring money from user A to user B, system must send email.
So application service...
Organon asked 25/1, 2017 at 9:18
10
Solved
I'm new to DDD, and I'm trying to apply it in real life. There is no questions about such validation logic, as null check, empty strings check, etc - that goes directly to entity constructor/proper...
Mclin asked 28/4, 2011 at 12:52
© 2022 - 2024 — McMap. All rights reserved.