I usually tailor presentations of my understanding of the domain to the users to whom I'm presenting. Some of them will understand abstractions such as...
I use a boxes and lines approach for diagrams and not much beyond that. I borrow ideas from UML such as having a customer box with name written in it but I...
... DDD is a broad topic that focuses on capturing domain knowledge and using that, along with business requirements, to drive solution design. So this covers...
Personally I don't think the code explosion has anything to do with the repository pattern. In my view there is is nothing inherent in the pattern that leads...
This is the approach we use too, works a treat. ... color); ... queries, ... start ... when the ... Specifications that I ... you might ... building the ... ...
Hi All, I was wondering if anyone could recommend useful books about investment management/finance that might give me insight that I can use when modeling? ...
I would recommend reading Martin Fowler's Accounting Patterns paper: http://www.martinfowler.com/apsupp/accounting.pdf It's basically an updated version of the...
James Kovacs
jkovacs@...
May 1, 2007 10:00 pm
5327
Without knowing more of the specifics of what you are doing with investments etc I would recommend ...
Hi, Thanks and I will definitely give these a look. I've also got Fowlers book but it doesn't cover the area I work in directly. In particular I work on a...
Hi, I've got a problem that I've been thinking about solving for a while and I'm hoping to get peoples views. The problem is how to do validation accross...
How did we end up with a Customer that could be invalid in the first place? Is that concept in the domain? Invalid Customers? In other words, could I ask a...
This is the sort of approach we use too. I personally prefer to completely avoid accessing repositories from the domain classes, as far as possible. ... ...
... could ... Customer validation certainly is something we can discuss with every domain expert and user. In fact they define the business (validation) rules...
On the candidate object thing is this a good link: http://tech.groups.yahoo.com/group/domaindrivendesign/message/4962 If so thats fine, we do similiar things...
... domain expert and user. In fact they define the business (validation) rules and when to apply them. That's a valid point, but that's not at the heart of...
... In your domain do customers change back and forth between valid and invalid? Could I be writing code for an active customer and have it switch to a new...
Ahh got you now. I think I've put something very badly. The state bit isn't really important to the discussion of validation accross aggregate roots (as far...
So when editing a Client different validation rules apply depending on state. One of those states requires a chunk of data you would rather not have loaded up...
Not really, state isn't really important to the original discussion about the issue I'm having. Lets say we pretend that we have a Customer class with no...
Hi, I've worded my original post poorly so I'll try again :) I have been considering how to validate an aggregate when that validation requires us to load...
Hi Colin cj> In some cases we need to know what Accounts belong to a Customer in cj> order to validate the Customer, for example if the Customer has an cj>...
I think there is something to be said, ... business ... First off thanks for replying and spending so much time on it. This is definitely worthy of discussion...
... Thinking about this could be premature but it does slightly bother me that I'd be loading a lot of other aggregates just to do some validation. ... being...
Hi Colin, ... cj> Thinking about this could be premature but it does slightly bother cj> me that I'd be loading a lot of other aggregates just to do some cj>...
See my comments below. ... How can a customer have an Account of type X when they don't have an InvestmentReference? If you answer is that they have just...
... I would suggest when the InvestmentReference is removed, invalidate the account right away (by state or account type). Then you just need to check if the...
... Certainly, though I've also found that quite often reality bites and I have to do performance ehancing redesigns. The fact I was crossing aggregate...