ddd-repositories Questions
1
I'm struggling with my Read Model as it is kind of a mix between domain logic and read model. Imagine getting quotes for a hotel or airline. In my instance it's shipping. To get a quote you need to...
Ussery asked 3/10, 2016 at 15:20
2
Solved
BACKGROUND: I have a Person domain object. It is an aggregate root. I have included a portion of the class below.
I am exposing methods to perform the objects behaviors. For instance, to add a Ban...
Ba asked 16/10, 2013 at 15:23
2
I'm trying to follow the DDD Repository pattern with Entity Framework 4. But I'm having problems saving changes to collection properties of my aggregate roots. Consider my classes below. Item is my...
Hadj asked 8/11, 2012 at 4:50
1
Solved
DDD specifies repository per aggregate, but when embracing Spring Data JPA, we can leverage the benefits only when we declare interface per entity. How this impedance mismatch can be resolved?
I'm...
Semmes asked 23/7, 2016 at 6:11
1
Solved
I have been working with Spring Data JPA repository in my project for some time and I know the below points:
In the repository interfaces, we can add the methods like findByCustomerNameAndPhone()...
Celie asked 21/7, 2016 at 16:42
2
I am practicing DDD, and I have a very simple example, which looks like this currently:
Polling
getEventBus() -> Bus
getEventStorage() -> Storage
getMemberRepository() -> MemberReposit...
Folksy asked 2/7, 2016 at 14:36
1
Solved
The situation we are facing currently is Model Entities and database logic are tightly interweaved together which is making unit tests impossible. So, I decided to go with designing a Repository pa...
Herrod asked 20/4, 2016 at 19:7
1
Solved
As I work with my understanding of Domain Driven Design I find I have a rule that seems to work, though I would like to see if it is overkill and also would like to see other perspectives of the sa...
Beneficence asked 21/10, 2015 at 20:47
4
Solved
Sometimes when working on applications, especially when trying to follow proper OOD and DDD patterns, we end up with domain classes such as Customer. Then we have some repository that will load thi...
Kerwon asked 5/10, 2015 at 18:27
2
Solved
In my application a few layers.
In this topic will focus on Domain and Infrastructure layers.
I have repository interface ClientRepositoryInterface in Domain layer.
And I have implementation of th...
Wulfe asked 21/7, 2015 at 0:14
3
Aggregates must be designed to be transactionally and eventually consistency. This consistency boundary around entities helps manage complexity.
In our repository implementations, we are using Ent...
Linnlinnaeus asked 22/2, 2015 at 13:47
2
Solved
In Domain-driven design if I want to use a repository I need to have an aggregate for it - as I understand.
So I have a User, that has id, login, email, and password. A user is a domain Entity wi...
Marenmarena asked 22/2, 2015 at 12:11
2
Solved
According to Fowler (here), a repository "mediates between the domain and data mapping layers, acting like an in-memory domain object collection." So, for example, in my Courier Service application...
Jamijamie asked 7/4, 2012 at 12:43
4
Solved
I've worked on several applications that try to adhere to DDD principles, I noticed that we end up with situations where there is duplication between the Service Layer and the repositories that fee...
Politick asked 16/9, 2012 at 17:37
3
Solved
I have a little problem understanding repository-domain object relation. Here is some information I know about domain design(they may also be wrong or not accurate). And with these in mind, I can't...
Beaker asked 19/1, 2014 at 23:56
3
Solved
I am going through Domain Driven Design by Eric Evans where he outlines the interplay between Repositories and Factories. The repository itself will call an DB interface to get a result set. This r...
Schwinn asked 6/12, 2013 at 12:33
2
Solved
I got a question on dependencies of DDD layered architecture. If the Repository implementation is in the infrastructure layer, that means that infrastructure layer has a dependency on domain layer ...
Vie asked 15/9, 2013 at 5:36
5
I've just started working with DDD, so maybe this is a silly question...
Is it ok for an entity to access a repository (via some IRepository interface) to get a value at runtime? For example, I wa...
Picco asked 6/5, 2009 at 1:39
2
Solved
I've just started a new project and have naturally opted to use a lot of new tech.
I'm using (Fluent) NHibernate, ASP.NET MVC 3 and am trying to apply the Repository pattern.
I've decided to sepe...
Kellyekellyn asked 16/2, 2011 at 19:31
4
Solved
I have a real scenario that is a perfect Domain Model design.
It is a field that has multiple quadrants with different states on every quadrant.
So my aggregate root is the field.
Now i have one im...
Scales asked 10/1, 2013 at 10:51
2
Solved
Background
I'm trying to create a simple application to really understand the whole stack of DDD+TDD+etc. My goal is to dynamically inject the DAL repository classes at runtime. This keeps my
Dom...
Denominational asked 12/12, 2012 at 18:25
2
Solved
In applications following DDD I worked on, we tend to have a Service Layer that contains the Services + Repositories + the interfaces for repositories and services, they all live in the same assemb...
Untouched asked 23/9, 2012 at 17:22
2
Solved
I am starting to learn about DDD and am concerned about the performance implications of retrieving entity objects from persistence and then restructuring them in a viewmodel for the UI.
Let's say ...
Intravenous asked 21/8, 2012 at 6:54
1
Solved
I have a City aggregate, having a list of PointOfInterest entities. This latter entity lies logically inside the City aggregate for reasons that won't be explained here. No entity holds a link to P...
Piezochemistry asked 5/8, 2012 at 10:20
2
May be for some domain logic implementation entities need access to repo for update/delete of self or any related entity. Does this sound right ??
Nagaland asked 5/8, 2012 at 16:39
© 2022 - 2024 — McMap. All rights reserved.