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.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2064 - 2094 of 16065   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2064
Lately in my domain model I have come across the question of where to place logic that deals with collections of entities. It seems I have several choices. ...
sobesoft
Offline Send Email
Apr 6, 2005
11:30 am
2065
http://www.martinfowler.com/bliki/TypedCollection.html...
Rex Madden
rexmadden
Offline Send Email
Apr 6, 2005
2:45 pm
2066
IMHO, collections are building blocks, generic building blocks; domain logic doesn't ever belong in them. If you have logic that deals with groups of...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 6, 2005
5:08 pm
2067
I think Fowler was saying that he doesn't encourage strongly typed collections, but rather encapsulating them, which I agree with. Just to make sure we're all...
Rex Madden
rexmadden
Offline Send Email
Apr 6, 2005
6:24 pm
2068
Hi Ramon, I would like to give a specific example. In my domain I have the need for tracking changes to a boolean flag. Instead of a simple boolean I have a...
David Foderick
sobesoft
Offline Send Email
Apr 8, 2005
4:16 am
2069
I think there could be value. But I'd dig a little deeper and try to come up with some concept that they are reflecting. The Fee collection with a total -- is...
Eric Evans
ericevans0
Offline Send Email
Apr 8, 2005
5:19 am
2070
I don't have much to add to what has already been said. Only thing is that a Typed Collection of Entities with behavior looks like a Manager. I have always...
j2eeiscool
Offline Send Email
Apr 8, 2005
8:45 am
2071
Eric's right, you need to dig deeper into the problem, the thing you're trying to model deserves a better name than AuditEventCollection. You probably already...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 8, 2005
4:52 pm
2072
Ramon, Eric and others: Thanks for the reponses. I think the conversation so far and the switch to talking about specifics in my domain have helped me uncover...
David Foderick
sobesoft
Offline Send Email
Apr 9, 2005
4:25 am
2073
I'm just trying to get my head around some of this. I'm using NHibernate in an ASP.NET application. Does this count as a type of repository? I have a facade...
nickgieschen
Offline Send Email
Apr 10, 2005
7:19 am
2074
... You may find this post from Udi helpful: http://groups.yahoo.com/group/domaindrivendesign/message/1874 Cheers Shane __________________________________ Do...
Shane Mingins
shanemingins
Offline Send Email
Apr 10, 2005
9:52 am
2075
If I hand the Repository a query to fulfill on my behalf and that query is bound to some database tool (say Hibernate), isn't my Repository (and the rest of my...
anagnost68
Offline Send Email
Apr 14, 2005
6:59 am
2076
... I would pass the Repository a data access object that knows how to handle the query. So my CustomerRepository depends on a CustomerDAO. The actual DAO it...
Shane Mingins
shanemingins
Offline Send Email
Apr 14, 2005
10:18 am
2077
It's pretty easy to build a generic query layer. Queries are after all, just predicate expressions, in every language. No language owns and/or/not and "> <...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 14, 2005
5:22 pm
2078
... I don't think so. Considered in isolation, I think it's a non-trivial task. To make it worse somewhere I need to translate my generic query layer to my...
anagnost68
Offline Send Email
Apr 14, 2005
6:22 pm
2079
Queries are just trees of composed predicates, whether it's SQL, or XPath, or looping over an array in memory, they're all doing the same thing with just...
Ramon Leon
gnaritas2002
Offline Send Email
Apr 14, 2005
7:36 pm
2080
While reading through DDD book again last night I wondered how to implement Application Services and Domain Services (as explained on chapter 5) in APS.NET...
Roni Burd
roniburd
Offline Send Email
Apr 15, 2005
3:30 pm
2082
Hello, I quite often run to the problem, where I have to manage several different type aggregate collections for a single domain entity. Suppose I have an...
Jukka Lindström
jukkalindstrom
Offline Send Email
Apr 16, 2005
7:06 pm
2083
From: "Jukka Lindström" <jslindst.at.reaktor-i.com@...> To: "domaindrivendesign@yahoogroups.com" ...
yahoogroups@...
jhrothjr
Offline Send Email
Apr 16, 2005
8:22 pm
2084
I agree with John's points, but let me express it a little differently. When I'm trying to decide whether to expose something or not, and this means a...
Eric Evans
ericevans0
Offline Send Email
Apr 16, 2005
9:36 pm
2085
I'm not quite sure if I've got my head around the idea that a Repository should express collection semantics. I get that a repository should be treated by its...
Scott Bellware
sbellware
Offline Send Email
Apr 17, 2005
1:24 am
2086
... How does it seem to you that it should work? Suppose the Repository couldn't do those things; how would they then be coded? Suppose it only dealt with...
Ron Jeffries
ronaldejeffries
Offline Send Email
Apr 17, 2005
1:36 am
2087
... Without an indexer, I would just have methods like Save(), Update(), Delete(), etc (maybe a SaveOrUpdate() a la Hibernate). Ultimately, if I put an...
Scott Bellware
sbellware
Offline Send Email
Apr 17, 2005
3:18 am
2088
Brilliantly put Eric and John. I understand your points and after inspecting the current domain I think it conforms to your ideas. The issue I found smelly was...
Jukka Lindström
jukkalindstrom
Offline Send Email
Apr 17, 2005
8:44 am
2089
... Yes ... but then where and how would the indexing capability be implemented? Don't we need it somewhere? ... It might be. I'm trying to figure out the...
Ron Jeffries
ronaldejeffries
Offline Send Email
Apr 17, 2005
9:01 am
2090
... I'm programming a Repository for a User Entity. I'm using C#/.NET. The Repository uses a "strongly-typed" DataSet generated by Visual Studio as a cache....
Scott Bellware
sbellware
Offline Send Email
Apr 17, 2005
9:36 pm
2091
... I'm with you on this. I guess my only hope is to find the time to build something, perhaps several different ways. At this moment, that feels painful to...
Ron Jeffries
ronaldejeffries
Offline Send Email
Apr 18, 2005
8:39 am
2092
Just an API/aesthetics observation, but one argument against using an indexer to access datastore bound entities could be that it doesn't clearly communicate...
devdiscuss
Offline Send Email
Apr 22, 2005
1:54 am
2093
(apologies for multiple copies received) Call for Papers Views, Aspects and Roles - VAR '05 Workshop at ECOOP'05, July 25 2005, Glasgow. ...
Pavel Hruby
pavelhruby
Offline Send Email
Apr 22, 2005
7:21 pm
2094
There are some interesting capabilities coming in .NET 2.0 with the addition of generics and anonymous delegates that make for some Specification-ish stuff. ...
Scott Bellware
sbellware
Offline Send Email
Apr 26, 2005
12:54 am
Messages 2064 - 2094 of 16065   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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