Unanswered Questions
123 questions with no upvoted or accepted answers
5
votes
1
answer
722
views
Applying Domain Driven Design - Model/Implementation
I'm quite new in the DDD-World and I'm just trying to figure out all the basics so please bear with me!
I have the following Entities:
- Datamodel
- Object Types
- Object Fields
A datamodel can ...
5
votes
0
answers
3k
views
DDD directory structure for MVC app
As a means of learning and gaining some experience with domain-driven design, I'm restructuring/refactoring an old application written in PHP which utilizes the Laravel 5.1 framework. Below is a mock-...
4
votes
0
answers
2k
views
Best practice to reuse use cases in a clean architecture
Imagine a "clean architecture" in which you have two use cases. One of them is CreateCustomerHandler, and the other SignUpCustomerByGoogleAuthHandler. So, the ...
4
votes
1
answer
1k
views
Design for syncing data from remote API
I am trying to find a robust and correct solution for syncing data from different sources to my local relational database.
I have different sources of data for eg: CSV, REST API and probably network ...
3
votes
0
answers
290
views
How should domain model entities expose information about the current state of their properties?
I'm new to DDD, so please bear with me.
I am trying to design a domain model around an extremely large and complex existing system, where most of the current "domain" logic is either in the UI or in ...
3
votes
0
answers
1k
views
Authorization, permissions, and scoping resources in a microservice/DDD architecture
I'm building a microservice-based application (services according to DDD) and am about to implement authorization service. There are API gateways and UI applications that access backend servers, and ...
3
votes
0
answers
470
views
How to design a sync api exposed to third party which involves a business transaction across aggregates?
Business Domain
In the Sales domain, I have 3 entities - Lead, Contact and Opportunity. A lead is injected into the system from many sources and nurtured. If it is a prospect then it is converted ...
3
votes
0
answers
1k
views
DDD problem with aggregate design (users, authentication)
We're having a bounded context dealing with payments.
I'm trying to model case, where Merchant can create another merchant and inherit some of its properties in this case: users that are needed for ...
3
votes
0
answers
639
views
Understand the service term in DDD and matching class diagram
I m trying to learn how to make my code better. This way, I try to learn some books and understand them.
I m having some troubles dealing with Domain Objects. From the first year of my IT school, I'...
3
votes
0
answers
729
views
How to implement DDD in a distributed application with NHibernate?
I have an ASP.NET MVC web site working in this way:
(In the controller)
var user = _applicationService.GetUserById(1);
user.ChangeEmail("[email protected]");
user.ChangeAddress("my new street", ...
2
votes
0
answers
316
views
Where does a Process Manager live with a Hexagonal/Ports and Adapters Architecture?
Context: I initially asked this question. I lacked some understanding and phrasing to ask the actual question I wanted to ask. The answer though helped me understand the friction points a bit better ...
2
votes
0
answers
642
views
How to retrieve login token from repository in network layer? Domain Driven Design - DDD
I am trying to come up with a design for an application I am working on.
Here is a basic picture of what I am looking to do. Everything up to the Data Layer is totally fine but the Data Layer makes ...
2
votes
0
answers
1k
views
Product, Category, Attributes modelling in DDD
I'm trying to model online shop catalog using Domain Driven Design.
There are three main concepts I have right now: Product, Category, Attribute.
Attribute is a characteristic of a product. For ...
2
votes
0
answers
499
views
DDD - Getting access to user email from different domains
Let's assume I was building a collaborative document editing platform ala Google Docs.
Collaborators work together on a Document. A Collaborator must be a user of the platform.
There's a Comment ...
2
votes
0
answers
299
views
DDD - Translating Ubiquitous Language Vocabulary Across Bounded Contexts
One of the guidelines around building ubiquitous languages is that there should be one per bounded context.
In a domain that has more than one bounded context, and therefore more than one ubiquitous ...