This group is for discussion of the domain-driven style of designing software, and the book by Eric Evans, Domain-Driven Design: Tackling Complexity in the Heart of Business Software. Questions and discussion of the book content is welcome here, as well as sharing of experiences applying DDD, and discussions of the topic in general.
I made a post about different options : http://thinkbeforecoding.com/post/2009/11/05/Event-Sourcing-and-CQRS-Serialization The thing to optimize further
HI Dan, What if the name of the product changed? You would get a different name on the Order or Receipt. That is not legal in some countries. On another note
Let me expand a littlebit. Working with two collaborators is a trivial. We get more fun we three or more. You you may ask, what is the point of passing the
The "tell not ask" approach would be to delegate the responsibility to the product, along with double-dispatch: product = GetProduct(123); product.addTo(order,
Hi Roger, Just checking if you are awake :) You are absolutely correct. The other arguments should also be passed to the test. In this way the product can