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...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 5200 - 5231 of 7813   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
5200
Hello everyone, I'm a newbie in DDD, I have read some books, but I'm having many trouble in doing a real world application in DDD. I can see that many people...
jmacias@...
extjmv
Offline Send Email
Apr 2, 2007
5:05 pm
5201
For those of you using Specifications to validate, has anyone added a mechanism to report why an object fails to meet a Specification? Here's a contrived...
Chris Gardner
chris_gardner76
Offline Send Email
Apr 6, 2007
7:26 pm
5202
This is something I've been thinking about too. Currently we use the state pattern, so a Customer has a CustomerState object. When you ask a Customer whether...
colin.jack
Offline Send Email
Apr 6, 2007
10:00 pm
5203
There is a lot of discussion about different technics to use in DDD, and many of them have some focus on the aggregation root when peforming stuff. The...
trondeirikkolloen
trondeirikko...
Offline Send Email
Apr 7, 2007
7:12 pm
5204
... I'm having ... Take a look at this framework stuff: www.lhotka.net It might get you a head start on practical use of some of the patterns and practices...
trondeirikkolloen
trondeirikko...
Offline Send Email
Apr 7, 2007
7:25 pm
5205
What about a Cause class, like java, all Exceptions has a Cause...
Juan María Mac...
extjmv
Offline Send Email
Apr 9, 2007
11:33 am
5206
In Java I think the cause is simply an Exception. ... added a ... not....
Chris Gardner
chris_gardner76
Offline Send Email
Apr 9, 2007
1:58 pm
5207
... class SpecReturn with properties: boolean satisfied; Cause cause; ... class Cause with properties: String message; //mesage to display int causeType;...
Juan María Mací...
extjmv
Offline Send Email
Apr 9, 2007
2:46 pm
5208
Exceptions are best used for exceptional cases. It sounds to me like this is not really an exceptional case (I might have misunderstood). For a similar problem...
Johannes Brodwall
brodwall
Offline Send Email
Apr 10, 2007
8:49 am
5209
Although in the DDD book there are many concpets about modularizing the domain itself I am often faced with tackling heavy entities. In many domains there is a...
jupitermoon_beam
jupitermoon_...
Offline Send Email
Apr 10, 2007
4:23 pm
5210
I have this exact same problem but hadn't put words to it. The greedy aggregate is indeed something that feels bad, but is it? I look forward to the comments...
Dru Sellers
drudustinsel...
Offline Send Email
Apr 10, 2007
4:39 pm
5211
In my experience, it helps to be a little less formal about the concept of an aggregate root. I know that we have had heavy debates on this earlier, for good...
berthooyman
Offline Send Email
Apr 10, 2007
4:56 pm
5212
This is really the point of the aggregate pattern. Systems don't work well with those megalithic models. When your model seems to demand a single huge...
Eric Evans
ericevans0
Offline Send Email
Apr 10, 2007
4:58 pm
5213
I've dealt with what sounds like a similar problem. At a previous job we had an application that performed various types of batch processing on a very large...
Patrick Bohan
ARKBAN
Offline Send Email
Apr 10, 2007
5:12 pm
5214
interesting. I will have to look at my object model this way and see if that helps. along with eric's advice as well. thanks team!!!! -d ... -- cheers, -d...
Dru Sellers
drudustinsel...
Offline Send Email
Apr 10, 2007
5:24 pm
5215
Anyone use naming conventions to differentiate between an entity object and a value object? So instead of CUser and CUserStatus I might have eUser vUserStatus...
joethebigshmoe
Offline Send Email
Apr 10, 2007
6:42 pm
5216
For me this falls in the same category as naming variables with a datatype prefix (remember hungarian notation?). The problem occcurs when your model evolves,...
Jeff Lowe
jefflowe7
Offline Send Email
Apr 10, 2007
6:54 pm
5217
I would imagine the class's type would be obvious from your domain language. If it isn't, I would focus your attention back to there. I personally dislike...
Patrick Bohan
ARKBAN
Offline Send Email
Apr 10, 2007
6:56 pm
5218
This type of naming convention might scare me ... What happens if I refactor an entity to be a value object or vice versa? There is now a type coupling...
gregory young
gumboismadeo...
Offline Send Email
Apr 10, 2007
7:00 pm
5219
This can rapidely fall into a religious debate. But before it does, just to compensate the other side, I would argue that refactoring using a good IDE would...
Claude Montpetit
claude_montp...
Offline Send Email
Apr 10, 2007
7:15 pm
5220
What purpose does that particular distinction serve? I can't, offhand, think of any reason I'd care to know that about a class, and not a whole lot more. Also,...
John Roth
jhrothjr
Offline Send Email
Apr 10, 2007
7:21 pm
5221
Thanks for the quick responses. I personally don't think it is necessary. However, someone in my group recently proposed this idea and I wanted to present any...
Joe A. Reddy
joethebigshmoe
Offline Send Email
Apr 10, 2007
7:25 pm
5222
Thanks John, that's what I was looking for really. What point does it serve. If none of you are doing it then it almost "proves" my point that we are not going...
Joe A. Reddy
joethebigshmoe
Offline Send Email
Apr 10, 2007
7:26 pm
5224
... wrote: ... Are you really discussing the specific detail about whether or not one should use naming conventions for entity/value objects or are you not ...
tomtdd
Offline Send Email
Apr 11, 2007
12:51 am
5225
I saw tomtdd's long post but figured I would chime in with my simple approach (as I don't want to get into the debate of why). Originally I was doing something...
Bil Simser
sim0099
Offline Send Email
Apr 11, 2007
4:13 am
5226
Hi Trond-Eirik, Interesting topic. Well, from my point of view I lean far more towards having a repository per aggregate root. One per application will simply ...
Pascal Lindelauf
plind69
Offline Send Email
Apr 11, 2007
8:11 am
5227
I think Patrick's post is where my thinking was going (I will try and confirm if I've got it right). It was the subject of Eric's post that was starting to...
jupitermoon_beam
jupitermoon_...
Offline Send Email
Apr 11, 2007
8:44 am
5228
Good discussion. I've had it as well with one of my colleagues, who's a MVP. I have to note up front that I don't know WWF really well, so my opinion is more...
Pascal Lindelauf
plind69
Offline Send Email
Apr 11, 2007
8:47 am
5229
That might be one way to split it, I definitely would try to keep my Customer lightweight but I'm not sure if moving Orders off is the correct way to do that....
colin.jack
Offline Send Email
Apr 11, 2007
10:34 am
5231
I'm not sure I see that being a major problem, replacing the normal state pattern implementation with Activities doesn't seem to me to be that big a jump. To...
colin.jack
Offline Send Email
Apr 11, 2007
1:06 pm
Messages 5200 - 5231 of 7813   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