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...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 166 - 195 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
166
Hi Eric, I certainly like the idea of using a proxy in the lower domain layer, as the domain objects are completely agnostic to the fact a DB is being used or ...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 2, 2003
4:39 pm
167
Good question, Nick. Transactionality is an interesting aspect of domain-driven design. I use TOPLink, which has both proxies and UnitOfWork, and which uses...
Stafford, Randy
randalparker...
Offline Send Email
Nov 2, 2003
5:15 pm
168
Hi Randy. I have to admit in the past I have given in to the ease of informing the UOW from within the domain layer, though it always troubled me. Thinking...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 2, 2003
9:12 pm
169
... I like the application layer to control the transaction, the entities and value objects to be ignorant of it (except that dependency info and aggregate...
Eric Evans
ericevans0
Offline Send Email
Nov 2, 2003
9:17 pm
170
... Good question. I have seen three basic approaches to aggregates. 1. Noone thinks about aggregates, but to make the system work, they implicitely and...
Eric Evans
ericevans0
Offline Send Email
Nov 2, 2003
9:31 pm
171
... to ... knowledge of ... A proxy definitely does have knowledge of a query, and possibly a repository. The point was that it encapsulates this knowledge so ...
Eric Evans
ericevans0
Offline Send Email
Nov 2, 2003
9:35 pm
172
... You're lucky if you have the framework to work with. I am finding this more interesting looking at it from a poor mans project - we dont have any tools or...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 2, 2003
9:45 pm
173
This question was included in the original "Lazy Loading" post, but ... I agree with you that domain-driven design is not the best approach to everything. The...
Eric Evans
ericevans0
Offline Send Email
Nov 2, 2003
9:48 pm
174
Eric Evans wrote (some snipping done to remove non-relevant text): How should one implement lazy load for domain objects in DDD? For example, if we have a...
Bill Davis
bdavisx
Offline Send Email
Nov 3, 2003
12:05 am
175
... Thanks for the insight, Eric. Since I have sent the email, I have begun my own little experiment in the actual implementation of an aggregate root. I...
Griffin Caprio
griffinc18
Online Now Send Email
Nov 3, 2003
12:35 am
176
Oops! What I meant to say was that the *Customer* has no knowledge of repositories or queries. The proxy does have that knowledge, which is its whole reason...
Eric Evans
ericevans0
Offline Send Email
Nov 3, 2003
7:14 am
177
... Griffin, one thing to consider is creating Value Objects rather than value structs. I know you are only "exploring", but be aware of boxing issues which...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 3, 2003
11:28 am
178
... Could you quantify what you mean by "boxing issues"? I am always interested in hearing about possible performance hits. ... That was my original...
Griffin Caprio
griffinc18
Online Now Send Email
Nov 3, 2003
7:54 pm
179
... When you pass structs around, they are passed by value. To improve performance you will need to "box/unbox", but this involves copying data around too....
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 3, 2003
8:53 pm
180
... Good point. But, I think one of the reasons I implemented them as structs was because they are passed by value. I was looking for a way to enforce the...
Griffin Caprio
griffinc18
Online Now Send Email
Nov 3, 2003
9:27 pm
181
... When an object is passed out of the aggregate, no reference to it can be held. It isn't really a value object, though (unless it already was, inside the...
Eric Evans
ericevans0
Offline Send Email
Nov 3, 2003
9:51 pm
182
... Right. That's what I trying to accomplish. I was trying to create the objects inside the aggregate as value objects, so I wouldn't have to go through a ...
Griffin Caprio
griffinc18
Online Now Send Email
Nov 3, 2003
10:26 pm
183
... Eric, in the above do I take it you mean, "During the lifetime of an aggregate part, it may transiently be referenced by collaborators, but only for the...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 3, 2003
11:39 pm
184
Hello all, I'm new to this group, but a long-time advocate of domain modeling. I'm now waiting for my "Domain-Driven Design" book to arrive in the mail. In the...
Matthew Adams
matthewadams
Offline Send Email
Nov 4, 2003
4:22 pm
185
I have! Hello Matthew, and hello everyone else on the list. Welcome...I've been monitoring this group for a couple of weeks now, but have not yet participated...
Robin M. Roos
robinroos3
Offline Send Email
Nov 4, 2003
4:39 pm
186
Hi Matthew, I haven't read this or known of its existence, but I'll give it a shot - thanks for the pointer. Jill Nicola is a longtime associate of Peter...
Stafford, Randy
randalparker...
Offline Send Email
Nov 4, 2003
4:49 pm
187
Hah hah! I'm not too surprised to find you here, Robin! To the group, I also am a member of the JDO expert group, so my take on persistence is understandably...
Matthew Adams
matthewadams
Offline Send Email
Nov 4, 2003
4:55 pm
188
Hi Robin, Persistence has never been, and probably never will be, truly "transparent". You yourself said on page 53 of your JDO book that "it is necessary for...
Stafford, Randy
randalparker...
Offline Send Email
Nov 4, 2003
5:07 pm
189
I have to agree with you Randy on this topic. I dont think we could ever build software and be agnostic to persistence. I also feel Robins comments while...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 5, 2003
9:16 am
190
Hi, I too have been monitoring this list for a little while, Robin/Matthew nice to see you have joined...I'm also a JDO-pro person on the JDO expert...
kmccammon_2000
Offline Send Email
Nov 5, 2003
3:30 pm
191
I have read SOM and am reading DDD. I look at the association patterns in SOM to be *one* mechanism to contemplate candidate classes (especially entities)...
Chris Gardner
chris_gardner76
Offline Send Email
Nov 5, 2003
3:32 pm
192
Keiron, To help us non-Java people, could you explain how repositories, factories and lazy loading actually works in JDO? I havent got a clue and it would...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 5, 2003
4:24 pm
193
... look at the association ... I think that is a very good point. SOM brings value to the table along with the other tools you mention. For some reason, if...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 5, 2003
4:29 pm
194
I'll try to give it to you in a nutshell, highly glossed over: Using JDO, you author your java classes as you normally would. Then, you create a JDO metadata...
Matthew T. Adams
matthewadams
Offline Send Email
Nov 5, 2003
5:05 pm
195
Matthew thats cool! So, am right in assuming the PersistenceManager, the Transaction etc are part of the JDO framework and you didnt have to write any of...
Nick Robinson
nicholasrobi...
Offline Send Email
Nov 5, 2003
5:32 pm
Messages 166 - 195 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