I don't know of an implementation that gave an explanation for failing specs, but it certainly could be useful. I can think of two ways I might approach it,...
Some specs may be based on scalar metrics (scores) with pass-fail thresholds (standards). Among these are "non-functional" (i.e. not "business" function)...
I'll try. Everything looks reasonable enough as well as returning an object consisting of bool IsSatisfied and string[] WhyUnsatisfied. The latter could be...
The object returned wouldn't need a boolean IsSatisfied because it only gets added to the collection when it isn't satisfied. I'm suggesting a two-pass...
These free calling cards are really amazing.I like Travelling all over the world and Chatting.For these I used to spend lot of money on phone calls.But these...
... I'm trying to bring DDD methods to my current project and am also interested in using the Spring Framework for IoC (dependency injection) and AOP. What got...
Chris, I'm starting to use Ioc with DDD as well. I'm using Pico. I'm using Pico to inject dependencies on repositories, factories, and sometimes policies. I...
Steve, Thanks for your reply. You give me the impression that I'm on the right track with DDD and IoC. And "picosification" is a great term. ... ,Chris ... I...
... I think of constructor injection/decoupling as a way to express incidental relationships between objects. For example, although my business logic depends...
"I think of constructor injection/decoupling as a way to express incidental relationships between objects." That's a good way of putting it. In Aristotelian...
That sounds right to me, and I've learned something, since I don't know much about this technique. Thanks. Eric ... From: J. B. Rainsberger jbrains@... ...
... Yes: "essential." That's the antonym for "incidental" that I couldn't seem to find at that moment. -- J. B. Rainsberger, Diaspar Software Services ...
As part of its programs to support the agile community, the Agile Alliance provides a News service for the publication of agile events and announcements. The...
C A L L F O R P A P E R S ============================= The 4th OOPSLA Workshop on Domain-Specific Modeling October 25, 2004 Vancouver, British Columbia,...
Hi, I'm in the process of writing an article on software development, with accompanying example application. I'm still struggling here with the sample...
1067
John Brewer
jbrewer@...
Jun 9, 2004 6:48 pm
Let me pose a scenario for you. A credit card processing system has two pieces. A front end that handles online credit card applications, customer support,...
... Well, it sounds like the two different packages need different Account classes. What about Account and DetailedAccount? Given that Account doesn't have the...
Hi John, If I were doing the design I would put the accounts and service notes in different aggregates, then I would make the relationship between both a ...
1070
John Brewer
jbrewer@...
Jun 9, 2004 7:44 pm
On Wed, 09 Jun 2004 15:27:11 -0400, J. B. Rainsberger ... Maybe. I've also thought about having a DetailedAccount that's a subclass of Account. One possible...
1071
John Brewer
jbrewer@...
Jun 9, 2004 7:52 pm
On Wed, 9 Jun 2004 15:37:45 -0400, Juan Labrada Estrada ... I think the Aggregate[125] pattern is probably part of the answer. But in your diagram above,...
I would use a Role (modeling pattern from Streamlined Object Modeling). Account { creditLimit; balance; Collection<IAccountRole> roles; } NotesHolder...
1073
John Brewer
jbrewer@...
Jun 9, 2004 8:08 pm
On Wed, 9 Jun 2004 12:58:42 -0700 (PDT), Krzysztof Swietlinski ... Oooh.. Very nice. Using the dependency inversion principle so that users of Account only...
The link in the diagram reflect the relationship between Service Note and Account, that is expressed by the account attribute in the Service Note entity. For...
... Especially in light of Krzysztof's suggestions, it might be better if the two classes were independent of one another, but implemented the same interface. ...
1077
John Brewer
jbrewer@...
Jun 9, 2004 11:23 pm
On Wed, 09 Jun 2004 16:45:59 -0400, J. B. Rainsberger ... Could you say more about this? Thanks, John Brewer...
... I'll try. I'm positing that, since Hibernate handles detachable persistent objects, it should have no trouble with instances of different classes being...
1079
Frohnhofer, James
james.frohnhofer@...
Jun 10, 2004 2:34 pm
I hope you guys aren't letting the vagaries of a particular persistence framework drive your domain model . . . ... From: J. B. Rainsberger...