... I think a fundamental snag you are getting caught in is trying to solve things technically first. I think the correct way of stepwise refinement for the...
Vernon Take two business rules: 1) A Customer cannot have more then X active orders 2) A banned Product cannot be added to an Order 3) A shop cannot accept...
You will be graded based on knowledge of established principles, as well as originality. You have 1 hour to complete the exercise. Please begin. From:...
Hi Nuno, I know this is for our wiseman Vaughn but I would like to give my opinion too :) I would choose the Shop to be the AR. Who keeps tracking of orders in...
His test is is disqualified. It says there are two questions, but he actually asked three. And I recommend that none of you hold your breath :) When I answer...
Lolol. Cmon give it a try. Writing on iPhone is difficult as it is. I promise i will not challenge the solution. Just curious. Cheers, Nuno On 2009/11/06, at...
... I would disagree with this. The repository contract is firmly part of the domain. A repository implementation may be part of infrastructure, but the...
Thanks for the advice it was very useful. I understand it mostly but I still have some more questions to see if I'm on the right track. I would have an...
I would look at why a message can not be an AR. A message is located in a folder but does it cease to exist out side of a folder or fail to have value....
Hi, Yes, Country is an AR and it have a repository of its own. It means i need call GetCountryList() function of countryRepository from CustomerSevice....
Yes, if i keep GetCountryList() inside CountryService, to return DTO list of object. This is also way to handle country list in UI. However, CountryService...
Hi, I run "mvn -e clean package" several times and every time I got ... I use Apache Maven 2.2.1 on Mac OS X. Is there anybody who get following result too? ...
Hello Vaughn (a.k.a. Vernon) / Lopes (a.k.a. Nuno) / other interested parties, I know this is long but Vaughn please have a look and Nuno, it feels to me you...
... I'm thinking of something along the lines of having EBay as the Aggregate Root to everything happening inside the shop and using Versioning on EBay (with...
Just to add to this conversation... The book discusses using domain services to coordinate transactions between multiple aggregate roots. But beyond that one...
Hi Ramin, ... No, good to know *I'm* not alone --- he he As for the invariant issue: it brings up another point I was still going to make about rules. Now...
Workflows = sagas and are a context of their own in most cases. ... -- Les erreurs de grammaire et de syntaxe ont été incluses pour m'assurer de votre...
Come on Greg and Eben... we are here to learn from one another, not turn this into a boxing match. If you guys want to go rounds with one another, here is a...
Sorry Jeff, I should have been more clear. You are right. What I was trying to say was that in your domain assembly, you would not set a reference to your...
Hey Eben I think you got it bro! I am working on a system right now where company is a value object and person is the entity in the domain. To most on the...
Hi Eben, thanx for taking time to respond so thoroughly. I have nothing to add except that I have lots to learn :-) BTW, I hope you don't think I was implying...
There are several options to get the Country repository into the customer service. Option 1 is to just new it up inside.(not realy a good option) Option 2 is...
Hey Justin, I wouldn't get too excited *lol* Some proverb (probably Chinese) says: I hear and I forget. I see and I remember. I do and I understand. I need to...
Why does the list with countries need to be part of the domain, should this not just be a GUI thing? Then have a Country value object where you need to know...
I agree that my statement was not valid as I do not have a context to base it on. In a past life I worked for an international shipping company so I have a...