Skip to search.
domaindrivendesign · Domain-Driven Design

Group Information

  • Members: 2907
  • Category: Software
  • Founded: Sep 27, 2002
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Messages 1976 - 2007 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1976 Stafford, Randy
randalparker... Offline Send Email
Mar 1, 2005
5:51 pm
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...
1977 j2eeiscool Offline Send Email Mar 3, 2005
9:57 am
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...
1978 Rex Madden
rexmadden Offline Send Email
Mar 3, 2005
1:57 pm
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...
1979 Jeff Lowe
jefflowe7 Offline Send Email
Mar 3, 2005
3:50 pm
... 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 ...
1980 michaels1406 Offline Send Email Mar 3, 2005
5:08 pm
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 ...
1981 Stafford, Randy
randalparker... Offline Send Email
Mar 3, 2005
5:58 pm
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...
1982 Jeff Lowe
jefflowe7 Offline Send Email
Mar 3, 2005
7:15 pm
... Repository is that Repository implements some amoutn domain logic, while DAO implements pure data access (assuming some data source)? Almost. The...
1983 Stafford, Randy
randalparker... Offline Send Email
Mar 3, 2005
7:28 pm
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,...
1984 Roni Burd
roniburd Offline Send Email
Mar 3, 2005
7:51 pm
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...
1985 Jeff Lowe
jefflowe7 Offline Send Email
Mar 3, 2005
8:38 pm
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...
1986 j2eeiscool Offline Send Email Mar 4, 2005
2:31 pm
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...
1987 Bert Hooyman
berthooyman Offline Send Email
Mar 5, 2005
8:16 am
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...
1989 j2eeiscool Offline Send Email Mar 6, 2005
12:20 pm
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...
1990 anagnost68 Offline Send Email Mar 7, 2005
4:50 pm
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...
1991 j2eeiscool Offline Send Email Mar 8, 2005
2:21 am
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...
1992 Stafford, Randy
randalparker... Offline Send Email
Mar 8, 2005
3:58 am
If the people using your APIs are all on your team, educate them and then trust them. Else, program defensively. My $0.02, Randy...
1993 j2eeiscool Offline Send Email Mar 8, 2005
6:42 pm
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...
1994 Rex Madden
rexmadden Offline Send Email
Mar 9, 2005
2:22 am
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...
1995 Roni Burd
roniburd Offline Send Email
Mar 9, 2005
3:05 am
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...
1996 Oguz Bayram
obayram Offline Send Email
Mar 9, 2005
5:10 am
Can Adaptive Object Model(AOM) be a solution to this situation, what you think guys? ref: www.adaptiveobjectmodel.com ... -- ... OÄŸuz BAYRAM...
1997 Anders Engström
andurrs Offline Send Email
Mar 9, 2005
6:21 pm
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...
1998 Susan Davis
futabachan Offline Send Email
Mar 10, 2005
7:31 pm
... 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...
1999 Susan Davis
futabachan Offline Send Email
Mar 10, 2005
7:32 pm
... Introduce an adaptive object model? -- Susan Davis <sue@...>...
2000 Oguz Bayram
obayram Offline Send Email
Mar 10, 2005
9:38 pm
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...
2001 j2eeiscool Offline Send Email Mar 14, 2005
10:11 am
Hi, I face a somewhat similar situation. I did a research of the archives and came across this post from Eric Evans ...
2002 Stafford, Randy
randalparker... Offline Send Email
Mar 14, 2005
4:31 pm
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...
2004 j2eeiscool Offline Send Email Mar 14, 2005
7:10 pm
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)...
2005 Scott Bellware
sbellware Offline Send Email
Mar 16, 2005
1:25 am
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...
2006 Chris Richardson
cer Offline Send Email
Mar 16, 2005
2:36 am
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...
2007 Scott Bellware
sbellware Offline Send Email
Mar 16, 2005
5:12 am
... Thanks, Chris! Yes, this helps indeed. .NET does have the equivalent of ThreadLocal. Cheers, Scott...
Messages 1976 - 2007 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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