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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 1976 - 2007 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1976
Hi Ken, Thanks for the explanation. Yes, that makes sense, and it's an interesting example. My interpretation is that there is an event that occurs in the...
Stafford, Randy
randalparker...
Offline Send Email
Mar 1, 2005
5:51 pm
1977
The only reason I keep them in separate packages is because the repositiories have database access (DAO) logic. All my DAO classes are together in a separate...
j2eeiscool
Offline Send Email
Mar 3, 2005
9:57 am
1978
I always keep repositories and their entities (and any factories) in the same package too. This way the only classes that know about the implementations are...
Rex Madden
rexmadden
Offline Send Email
Mar 3, 2005
1:57 pm
1979
... package. I'm wary of exposing the DAOs to my service layer. This could allow the service layer to bypass business rules enforced in the repositories. I ...
Jeff Lowe
jefflowe7
Offline Send Email
Mar 3, 2005
3:50 pm
1980
Hi, i_m new to DDD ... and i wonder if anybody has taken the trouble and created the source code for the example from "Chapter Seven. Using the Language: An ...
michaels1406
Offline Send Email
Mar 3, 2005
5:08 pm
1981
Hi Jeff, This is interesting; there have been previous threads where the difference between DAO and Repository has been questioned (as in, is there any). So...
Stafford, Randy
randalparker...
Offline Send Email
Mar 3, 2005
5:58 pm
1982
... Repository is that Repository implements some amoutn domain logic, while DAO implements pure data access (assuming some data source)? Almost. The...
Jeff Lowe
jefflowe7
Offline Send Email
Mar 3, 2005
7:15 pm
1983
Hi Jeff, ... So do you use a DAO per Entity, even if the Entity is not an Aggregate Root? In the above example, you identified CorrespondingEntity,...
Stafford, Randy
randalparker...
Offline Send Email
Mar 3, 2005
7:28 pm
1984
My way of viewing it, Repositories belong to the domain. They expose methods that are useful only in the context of the domain and serves for abstraction on...
Roni Burd
roniburd
Offline Send Email
Mar 3, 2005
7:51 pm
1985
Hi Randy, I'll explain my example more explicitly. It's a system that, for a given User, aggregates their Bills from multiple RemoteBillers. There's an...
Jeff Lowe
jefflowe7
Offline Send Email
Mar 3, 2005
8:38 pm
1986
Hi, I have been thinking abt. this for a while that the best place to put a cache for domain objects is the repository. But then, repository is meant for use...
j2eeiscool
Offline Send Email
Mar 4, 2005
2:31 pm
1987
As a rule, I would consider caching as close to your persistence tier as possible - that's where you get most of the re-use. To me, that implies that it's...
Bert Hooyman
berthooyman
Offline Send Email
Mar 5, 2005
8:16 am
1989
Hi, My domain layer is exposed to the UI (there is no DTO). Now the domain has both apis meant to be called from the UI layer (getters and setters for the...
j2eeiscool
Offline Send Email
Mar 6, 2005
12:20 pm
1990
If business rules are constantly changing (let's say every few weeks) how can we manage these changes. It seems as if one strategy is to embed the business...
anagnost68
Offline Send Email
Mar 7, 2005
4:50 pm
1991
Let me elaborate this a bit more: The domain layer accesses the repository which in turn invokes the dao layer. The DAO looks up a datasource etc. Now in a...
j2eeiscool
Offline Send Email
Mar 8, 2005
2:21 am
1992
If the people using your APIs are all on your team, educate them and then trust them. Else, program defensively. My $0.02, Randy...
Stafford, Randy
randalparker...
Offline Send Email
Mar 8, 2005
3:58 am
1993
Hi, My strategy (domain algorithm) classes take in the Domain Entities as part of their (strategy) c'tor. Later on the, when execute is invoked on the...
j2eeiscool
Offline Send Email
Mar 8, 2005
6:42 pm
1994
I would reach for the Strategy pattern first before the Specification Pattern. I'm not sure the Specification would even apply in that situation. You don't...
Rex Madden
rexmadden
Offline Send Email
Mar 9, 2005
2:22 am
1995
This issue raises two good questions: When is using a rule engine necessary? How does a rule engine interact with the domain model? In DDD book Eric mentions...
Roni Burd
roniburd
Offline Send Email
Mar 9, 2005
3:05 am
1996
Can Adaptive Object Model(AOM) be a solution to this situation, what you think guys? ref: www.adaptiveobjectmodel.com ... -- ... OÄŸuz BAYRAM...
Oguz Bayram
obayram
Offline Send Email
Mar 9, 2005
5:10 am
1997
Hi. I have a quick question for the group: Repositories are considered to be part of the domain model, together with entities, value objects and services. I've...
Anders Engström
andurrs
Online Now Send Email
Mar 9, 2005
6:21 pm
1998
... A domain model is an abstraction; an adaptive object model is a specific implementation technology. An AOM is one way to implement a domain model; it...
Susan Davis
futabachan
Offline Send Email
Mar 10, 2005
7:31 pm
1999
... Introduce an adaptive object model? -- Susan Davis <sue@...>...
Susan Davis
futabachan
Offline Send Email
Mar 10, 2005
7:32 pm
2000
Thanks for your time Susan, I caught the terms "Big Bang" and overkill, i wonder did you have a chance to experience AOM and what's the reaction of AOM to add...
Oguz Bayram
obayram
Offline Send Email
Mar 10, 2005
9:38 pm
2001
Hi, I face a somewhat similar situation. I did a research of the archives and came across this post from Eric Evans ...
j2eeiscool
Offline Send Email
Mar 14, 2005
10:11 am
2002
That's an interesting viewpoint ("I would not have a domain object reference a repository"). I guess it depends on what is meant by "reference". I recently...
Stafford, Randy
randalparker...
Offline Send Email
Mar 14, 2005
4:31 pm
2004
Hi Randy, I kinda agree to your viewpoint. If the entity domain is not supposed to access repository, someone else (Service or Strategy/Policy domain classes)...
j2eeiscool
Offline Send Email
Mar 14, 2005
7:10 pm
2005
Greetings, I'm trying to get a grip on how to use Hibernate (NHibernate actually) in a Repository. Is there a best practice regarding whether to push the...
Scott Bellware
sbellware
Offline Send Email
Mar 16, 2005
1:25 am
2006
On Tue, 15 Mar 2005 07:19:34 -0000, Scott Bellware ... In applications I've written repositories are wrappers around the Hibernate APIs. Here is a link to some...
Chris Richardson
cer
Offline Send Email
Mar 16, 2005
2:36 am
2007
... Thanks, Chris! Yes, this helps indeed. .NET does have the equivalent of ThreadLocal. Cheers, Scott...
Scott Bellware
sbellware
Offline Send Email
Mar 16, 2005
5:12 am
Messages 1976 - 2007 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