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.
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 13636 - 13665 of 15988   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
13636
I was listening to Greg Young on Herding Code and much of what he was saying made perfect sense and stroked my developer instinct in exactly the right way. Of...
george_mauer
Offline Send Email
Jul 2, 2009
1:28 am
13637
... I was on vacation, so I'm glad you posted it! Yes, I agree, it will be interesting to see how it progresses! regards, Rickard...
Rickard Öberg
rickardoberg
Offline Send Email
Jul 2, 2009
7:49 am
13638
For 'at this point the customer address should be xyz' you don't have to get the address out of the entity. You could provide the address to the entity that...
jeremie.chassaing
jeremie.chas...
Offline Send Email
Jul 2, 2009
8:43 am
13639
... Why does the state need to be public in order to "check" it in terms of validation? Can't that happen within the the Customer object? Also in terms of...
Greg Young
gumboismadeo...
Offline Send Email
Jul 2, 2009
2:19 pm
13640
Interesting. So are you saying that rather than directly representing the object in the domain the entity represents the behaviors of the object in a valid...
george_mauer
Offline Send Email
Jul 2, 2009
2:49 pm
13641
Hi all, I am currently planning a new billing system for one of our customers. A few operational systems are going to user the billing system as a service....
chrisbilljones
Offline Send Email
Jul 2, 2009
2:57 pm
13642
This is not DDD this is OOP the whole concept of encapsulation. Tell don't ask is a principle associated with this. Cheers, Gre ... -- Les erreurs de...
Greg Young
gumboismadeo...
Offline Send Email
Jul 2, 2009
3:19 pm
13643
Greg, I believe you are missing the point. George is not asking about OOP or best principles, but only if this practice hurts the Ubiquitous language as he...
Giovanni Bassi
_Giggio_
Offline Send Email
Jul 2, 2009
4:39 pm
13644
Giovanni, The state *is* there ... it is just not exposed nor should it be. It does not affect the ubiquitous language because the state is still there when...
Greg Young
gumboismadeo...
Offline Send Email
Jul 2, 2009
4:50 pm
13645
Hi guys, I'm wondering what's your take about where presentation models get dealt with? E.g. screens where we do complex search/filtering then display the ...
Hendry Luk
hendrypa
Offline Send Email
Jul 3, 2009
11:28 am
13646
Why would CQS lead to logic duplication? A query model contains data to display to the user interface, the command model supports actions to alter that state....
Jesper De Temmerman
jesper.detem...
Offline Send Email
Jul 3, 2009
11:44 am
13647
What duplication? It is the same amount of code just put into different places. Also it does not *have* to be against 2 different data sources .... using 2...
Greg Young
gumboismadeo...
Offline Send Email
Jul 3, 2009
1:05 pm
13648
My biggest problem with CQS at the moment, is that processing Command inevitably involves queries. From my understanding, however, command context doesn't...
Hendry Luk
hendrypa
Offline Send Email
Jul 3, 2009
1:30 pm
13649
Not sure what I was trying to say there :P That should read: My problem is: while in some particular cases, domains for query and command are different, but in...
Hendry Luk
hendrypa
Offline Send Email
Jul 3, 2009
1:35 pm
13650
Sorry to jump in to the discussion.... in fact I am not exactly sure if I understand your question totally.... but if you find that are duplication of logic,...
Carfield Yim
c8133594
Offline Send Email
Jul 3, 2009
1:39 pm
13651
Extracting into reusable methods become harder when we deal with 2 different domains and separate bounded-context. I can only refactor so much, but i still...
Hendry Luk
hendrypa
Offline Send Email
Jul 3, 2009
2:04 pm
13652
Would you mind post some code? Does interface help? ... Would you mind post some code? Does interface help? On Fri, Jul 3, 2009 at 10:03 PM, Hendry Luk <...
Carfield Yim
c8133594
Offline Send Email
Jul 3, 2009
2:35 pm
13653
Hello, The architectural context here is event sourcing, CQS, and SOA. So if aggregate roots form consistency boundaries for transactions... Am I correct in...
jps737
Offline Send Email
Jul 3, 2009
8:26 pm
13654
Hi group, I need some help how to model the following problem: The application I want to model is a web application. The application provides news items on an...
dee3lmo
Offline Send Email
Jul 3, 2009
8:50 pm
13655
I'll pick an example from Greg's example of adding item to order, and try to put my understanding of the presentation into this code. We have a AddProduct...
Hendry Luk
hendrypa
Offline Send Email
Jul 4, 2009
3:44 am
13656
How about having facade for those object?...
Carfield Yim
c8133594
Offline Send Email
Jul 4, 2009
4:58 am
13657
... It sounds like you should abstract up to the essence of what these objects represent. Request and Response aren't really concepts that are specific to the...
Dan Haywood
danh024680
Offline Send Email
Jul 4, 2009
7:17 am
13658
Hi Carfield, Could you please more elaborate? Is facade a domain concept and in which module (package) should it go? Could you please give a (simple) example? ...
dee3lmo
Offline Send Email
Jul 4, 2009
12:55 pm
13659
Hi Dan, The thing you say about Request and Response seems to be true. I've never thought about it in that way. However, I don't get what you mean with the...
dee3lmo
Offline Send Email
Jul 4, 2009
12:58 pm
13660
... In your first post you said: "A business rule is that the user can only get a news item once. " So you need the concept of User in your domain somewhere. ...
Dan Haywood
danh024680
Offline Send Email
Jul 4, 2009
1:14 pm
13661
Dan, Thanks for your prompt reply. The user is identified by the getRemoteUser() method (on the Request object). It is just a String object, so I don't think I...
dee3lmo
Offline Send Email
Jul 4, 2009
1:31 pm
13662
... Okay, well that's helpful. I'd still argue for a User domain object; it's one of the important concepts in your domain. ... Crikey, does that scale?...
Dan Haywood
danh024680
Offline Send Email
Jul 4, 2009
2:12 pm
13663
If the problem is limited to only News then no User concept is introduced yet. We have a Visitor that is came to us from a repository. The repo constructs the...
evgshapiro
Offline Send Email
Jul 4, 2009
10:06 pm
13664
... I would introduce the User concept even if all I've done is identified the concept and nothing else. I tend to find that after a while one finds...
Dan Haywood
danh024680
Offline Send Email
Jul 4, 2009
10:35 pm
13665
Hi jps, I suppose you can establish a rule (e.g., as part of your coding convention) that would prevent a transaction from spanning across multiple aggregates....
aleh_matus
Offline Send Email
Jul 5, 2009
6:43 am
Messages 13636 - 13665 of 15988   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