Assume we have a classic Person and a related repository interface: interface IPersonRepository { Add(Person p); Delete(Person p); } Now I want to have three...
As a new DDD beginner i want to show you a example code and I want to learn your thougths about which one is more suitable for DDD. Also it would be nice to...
I've got this Entity, say Person, that can be updated through a web service call. From that call I get a PersonUpdate, which is an object containing a...
Friends, I don´t understand this image: http://martinfowler.com/eaaCatalog/repository.html. To see that the client sends the criteria for the repo. Can I...
Hello all, Okay, so I went to see a company about the development of a new system. They, however, have a heavy framework and it seems to be a given that the...
[my google-fu has failed me. if the answer exists elsewhere, please point me to it. thanks] We our dipping our toes into the domain driven waters and have some...
One part of DDD that I think is overlooked is object-oriented design and the concept of sending messages to objects, Smalltalk style, as opposed to invoking...
Does anyone have experience with customization of domain models (and, well, hmmm, entire applications)? I know "customization" is quite a broad term, so let me...
I have a Problem entity that may have a Solution entity related to it. The Problem entity can be persisted before a solution is assigned to it. I would like to...
Let's consider a system with a bunch of different windows - some of them have public access, independently of what data they show, some are restricted, and...
Hi, This might seem like a stupid question, but I want to see what others are doing. They say that a rule of thumb is that each aggregate root gets it's own...
I don't really understand what the problem with shared value objects is. @Matthias: i can insert millions of equal value objects at the same time. That's the...
Hi all I want to know the good approach when come to start TDD in DDD, do you start your test from ApplicationServices layer or do you start the test in the...
I'm trying to find a good solution for getting info to the UI when something particular happens in the domain. Basically, I think I'm looking for some kind of...
Hi all I'm trying to design my new project to follow DDD rules. I'm using ASP.Net MVC and NHibernate as my web framework and I'm stuck to allow developer to...
Hi, I have a domain that contain call list and call item, call list is for supervisor read information, and the call is for agent call customer and fill in...
Hi,  Let's assume that there is a database with a single  Customer Table. Multiple users will access this database via a WebService.  I have  ...
I'm new to this group, so I apologize in advance if this question has been asked before (I've done some initial searches on "procedural refactoring" which...
I find myself writing lots of code like this in the presentation layer: If MyEntity.Customer Is Nothing Then Me.lblText = "Customer Not Set" Else Me.lblText =...
Those of you living in NYC might be interested in a group that I set up here, DDD-NYC. We meet every 1st Wednesday of the month. You can find out more at the...
I am building a warranty claim system for bike faults for a shop, each fault will have a fix and each fix a number of steps. For example a fix for a fault...
I wonder how other people handle a distributed(*) application startup in a highly modulized system? In my case I have a bunch of decoupled "plugin" modules...
Hi, I'm looking for a clean approach for injecting dependencies into entities instances. In this specific case I need to inject a set of validations that ...
In dealing with large collections when they are down the aggregate tree, for performance reasons, it seems we can't always use a Repository to interact with...
Clearly, annotations simplify the maintenance of persistent domain entities. However, I have a situation where the same set of entities will be used in...
... In Qi4j the focus is on being able to use DDD concepts while designing the domain and application. For persistence we then have a REST-extension so that...
I have an app that manages billing and invoicing for a consulting firm. Every night the application has to do a reconciliation between the contractor...
Consider the case where a Person has a reference to some Organizational Unit. Somewhere in the system we have a UI with a list of users. On this list I want to...