Search the web
Sign In
New User? Sign Up
domaindrivendesign · Domain-Driven Design
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 977 - 1006 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
977
My question is related to defining aggregate boundaries and the use of repositories (see Cargo example in DDD pp 170-178). In Eric's example, he defines Cargo...
dan19460
Offline Send Email
May 3, 2004
4:30 pm
978
In my (highly JDO-biased) way of thinking, a Repository represents more-or-less the persistent store in which the domain objects are stored. This need not be a...
Patrick Linskey
plinskey
Offline Send Email
May 3, 2004
5:33 pm
979
Actually, I thought Eric's point about aggregate roots / repositories in the book was that mapping aggregate boundaries to your repository boundaries was a...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2004
6:01 pm
980
... I've had more success doing component-level partitioning at the Repository level, but allowing multiple aggregate roots within a given Repository. Consider...
Patrick Linskey
plinskey
Offline Send Email
May 3, 2004
6:34 pm
981
Patrick, Couldn't you have three repositories, TradeRepository, TraderRepository, and CompanyRepository? One for each aggregate root? If I understand Eric's...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2004
6:47 pm
982
Patrick, Just out of curiosity, what's a 'Leg'? (I don't know anything about financial services.) Steve ... From: Molitor, Stephen L Sent: Monday, May 03,...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2004
6:51 pm
983
You could, but then we get back to the beginning of the thread: Do you allow trade.getLegs().iterator().next().getTrader(), or do you instead require some...
Patrick Linskey
plinskey
Offline Send Email
May 3, 2004
7:02 pm
984
A Leg is something that a Trade has many of ;) In more precise terms, a Trade might consist of a number of distinct operations. For example, I might agree to...
Patrick Linskey
plinskey
Offline Send Email
May 3, 2004
7:02 pm
985
Patrick, OK, I went out to my car to get my copy of the book. Thanks for your detailed replies; this has helped clarify some things for me. First off, I was...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2004
8:04 pm
986
... ROTFL. Me neither. ... Yes -- I think that given arbitrary relations to classes outside the repository, we're in sync in what we're getting at. Also, I...
Patrick Linskey
plinskey
Offline Send Email
May 3, 2004
9:26 pm
987
... Well I figured you weren't. But I didn't want to get dinged by all the harpies out there. ;) ... Right. Although I would qualify 'arbitrary relations' to...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2004
10:47 pm
988
... Personally, I like breaking the rules with Repository a bit and having a Trading repository that does the various trading-related things, rather than...
Patrick Linskey
plinskey
Offline Send Email
May 3, 2004
11:12 pm
989
... messages, ... traverse ... Great discussion guys. I've enjoyed monitoring the dialogue and pleased that I sparked a vibrant discussion. Thanks for...
dan19460
Offline Send Email
May 3, 2004
11:20 pm
990
Patrick, I guess you could look at the mega-repository as, logically at least, a facade over several smaller, per aggregate root repositories. To group ...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 4, 2004
12:45 am
991
Thanks for the great info everyone. Sorry it has taken me so long to respond. I want to throw another twist into the mix. In the health care domain they...
bob hunchberger
sftwengnr
Offline Send Email
May 4, 2004
6:12 pm
992
Actually, I think this discussion has helped me with respect to the deep object graphs. It looks like it may be possible to establish more fine grained...
bob hunchberger
sftwengnr
Offline Send Email
May 4, 2004
6:55 pm
993
Patrick, I'd like to run something by you. First, let me say I've really enjoyed this discussion and the back and forth has been of the highest quality....
Scott Hurlbert
hurlbertscott
Offline Send Email
May 5, 2004
10:02 am
994
My repositories are always interfaces since I always mock them for testing. You're right, the implementation doesn't really matter - for what it's worth,...
Rex Madden
rexmadden
Offline Send Email
May 5, 2004
12:33 pm
995
Scott, This is Steve, not Patrick. I'm butting in. ;) Sure, you could do that. In fact, my repositories are interfaces; the implementation doesn't matter. I...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 5, 2004
2:38 pm
996
In our project we have a Repository per aggregate root, and an abstract Store that they all hang off of (which sounds like your coarse-grained repository)....
Steve Conover
sgcjr
Offline Send Email
May 5, 2004
2:46 pm
997
Hi, Hmm... allow me to explain the question in subject line with several lines of pseudo-code. ... public void MainApp() { public void main() { ...
wirama_putra
Offline Send Email
May 6, 2004
5:47 am
998
Hi.... Great answer, I think that would work very well :) Thanks (I'll follow that approach). I was just trying to be ultra-anticipative considering lack of...
wirama_putra
Offline Send Email
May 6, 2004
6:04 am
999
... The mutator may not have enough information to decide whether to save or not. By "method which modifies" do you mean the nutator itself or code that calls...
John D. Corbett
code_graphics
Offline Send Email
May 6, 2004
6:17 am
1000
... save or ... By "method which modifies" I mean code that calls the mutator. ... other ... list. ... This list of unsaved instances... should I make it...
wirama_putra
Offline Send Email
May 6, 2004
6:29 am
1001
Hi, I'm confused whenever I have to decide whether to put claim processing behavior in Claim object (claim.process()) or in ClaimProcessingService object...
wirama_putra
Offline Send Email
May 6, 2004
7:15 am
1002
Raka, I think you need to consider some form of Unit of Work if your model is going to be doing something against objects - assuming there is some complexity...
Nick Robinson
fromconcept
Offline Send Email
May 6, 2004
8:03 am
1003
Hi, I think I see a shed of light here... Page 106: "When a _significant_ process or transformation in the domain is not a natural responsibility of an ENTITY...
wirama_putra
Offline Send Email
May 6, 2004
10:22 am
1004
Claim processing should go in a service. I know this because the smart people I know in insurance do it this way. But I think I can also explain why they do it...
Ralph Johnson
rej_13
Offline Send Email
May 6, 2004
11:17 am
1005
Hi, I have a model like this: Policy--(1)--(*)-->FinancialInfoModification I need to make a decision whether or not to put FinancialInfoModification inside...
wirama_putra
Offline Send Email
May 6, 2004
12:49 pm
1006
... Raka, I dont have Erics book to hand, but I do remember Eric stating that a single aggregate root could internally have an object within the graph that is ...
Nick Robinson
fromconcept
Offline Send Email
May 6, 2004
3:40 pm
Messages 977 - 1006 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help