The component can define the data structures upon which it operates using interfaces. These interfaces would be packaged together with the component. You could...
While I realise that one of the properties of an Aggregate is to choose an Entity that serves as the root of that boundary, is everyone actually using that...
Hi Michael! Without actually knowing how such an aggregate might look like, I still would not use a separate object action as some kind of root entry object....
+1 Michael I agree with you in the need to separate the responsibilities and have a Domain Service. Another benefit is that you can refactor your domain model ...
Hi, In my case I don't use any separate CustomerAggregateRoot class, if from domain perspective Customer is decided to be root then the class is marked as...
SRP says: "There should never be more than one reason for a class to change." Or conversely, there should be an equal likelihood of changing any of the class'...
That was my thinking as well (re contract changes vs entity behaviour changes), although I should've perhaps been a little more careful with the Domain...
... But the concerns that I was talking about were specifically to do with external access and boundary demarcation (ie, concerns that *must* be on the...
... Probably... although there may be behaviour that doesn't need to be exposed outside of the Aggregate (and hence is not part of the external contract)....
... It doesn't does it? All external access goes via a repository, aggregated parts simply do not have repositories or external references. ... The aggregated...
Hi, (i will aggregate some of your mails and answer in one move...) ... External clients should not beware of the internals, thus they can only access the...
Eben, I'm hearing "container" all the time I read your mail. What you need is a decoupling of lifetime / lifecycle management and access. So using an (IoC)...
... Sure - it's not that I was thinking the Aggregate Root would be performing a lot of the domain behaviour, just that it would have a large contract to...
If the command in your example is "submit order", then that would be copied for the audit trail. If as a result of processing that command the event "order...
I'd suggest thinking about Event Sourcing first and foremost at the architectural level, leading to eventual consistency and all those issues, without focusing...
Hey Sebastian, Should you ever have a look at my code not only will you hear "container" you will also see "container" :) The Painter example was purely...
Hey Udi, "If the command in your example is 'submit order', then that would be copied for the audit trail." Yes, that makes sense and I get it. What I am...
Hi All, On my current project we won't have access to domain experts, instead we'll have access to proxy domain experts within the team (primarily senior...
In my current experience it's not always a bad thing. If the app is for a single customer then it is better to talk to the customer (at least additionally),...
Te proxy *thinks* they know more than all the customers combined, the whole point of DDD is that they almost certainly do not. 2009/2/2 Peter Morris...
... Thats been my experience, I've yet to seen a situation where a proxy domain expert within the development team was used bear fruit. Models were created but...
... So in this case I think we should consider falling back to simpler methods where the tech team design solutions that suit them, forgetting about a shared...
No experts because? If you are an ISV, start a simple model, phone 3-4 of your best customers, buy them lunch and ask them to rip your ideas to pieces 2009/2/2...
... Te proxy *thinks* they know more than all the customers combined, the whole point of DDD is that they almost certainly do not. << No, in this case it is...
I cannot tell you how many times I have heard that .... How could a proxy possibly know more about the business than the business people do? If he did, he...
... I cannot tell you how many times I have heard that .... How could a proxy possibly know more about the business than the business people do? If he did, he...
Then he is a domain expert, because the business is your companies business, and your product, therefore your DE would be the expert on your product 2009/2/2...
Direct example I worked a while back for a company that supplied modelling software for the oil and gas industries amongst others ... The technical architects...
... Then he is a domain expert, because the business is your companies business, and your product, therefore your DE would be the expert on your product << ...