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 8673 - 8702 of 15993   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
8673
Have you seen the DDD sample: http://dddsample.sourceforge.net/ I have ported it to Sculptor. It is a really nice sample, since is based on something real, and...
Patrik Nordwall
patrik_nordwall
Offline Send Email
Nov 1, 2008
1:22 pm
8674
Hi there, In my attempts to apply DDD lately I've been struggling with how to represent relationships to entities that are not part of an aggregate root. Do...
Jeremy Wiebe
jeremyjtwiebe
Offline Send Email
Nov 3, 2008
9:08 pm
8675
All, I recently came across a project that was using ddd and I seen value objects and data transfer objects (dtos) in the project. My question is this, what is...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 3, 2008
9:08 pm
8676
immutability is a property they both tend to share but they have very different intents. Value objects are used to abstract a concept DTOs are used to transfer...
Greg Young
gumboismadeo...
Offline Send Email
Nov 3, 2008
9:27 pm
8677
I would say that you are correct that they are in different aggregate roots. Instead of getting at them through traversal what if you were to introduce ...
Greg Young
gumboismadeo...
Offline Send Email
Nov 3, 2008
9:32 pm
8678
to expand (or simplify?) what Greg said. Value objects usually contain smarts (logic). with the money example you could use a simple float type like Float...
jasonmeckley
Offline Send Email
Nov 3, 2008
9:58 pm
8679
Thanks guys for the clarification... it now has "clicked"! Regards, Justin ... From: "jasonmeckley" <jasonmeckley@...> To:...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 3, 2008
11:06 pm
8680
Hi All, I am looking over a few tutorials by Jean-Paul Boodhoo. I'm not sure if everyone knows of him, but in his c#.net solution he has defined some projects...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 3, 2008
11:25 pm
8681
Greg/All, Is it ok then to include business rules directly within value objects? For example, if (money < 0) { // don't allow it } or... are business rules to...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
12:50 am
8682
I think it is really not necessary to load all data if what you really need is the name. We don't have to return an domain object all the time even we are...
Yim Carfield
c8133594
Offline Send Email
Nov 4, 2008
1:19 am
8683
ultimately it depends on the complexity of the rules. then encapsulating the rules within the Money object itself is perfectly valid. You could also create a...
jasonmeckley
Offline Send Email
Nov 4, 2008
2:40 am
8684
If the complexity of the rules were steep, would you personally place the business rules in the money object? or in a business rules object and pass that into...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
12:51 pm
8685
the latter. here is one take on the model http://www.lostechies.com/blogs/mokhan/archive/2008/10/28/collecting-errors.aspx ... place the ... and pass ... ...
jasonmeckley
Offline Send Email
Nov 4, 2008
2:34 pm
8686
I think you can pretty easily distinguish between these two scenarios by looking at what the rule applies to. 1) If the rule applies to all instances of money...
Greg Young
gumboismadeo...
Offline Send Email
Nov 4, 2008
5:23 pm
8687
All, Does anyone know of a small sample project that I can study that applies ddd? I understand that ddd is primarily for large scale applications, and really...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
6:14 pm
8688
Hi Justin, There is a DDD sample application written in java available at: http://dddsample.sourceforge.net/ While DDD is very helpful in tackling large scale...
Donnchadh Ó Donn...
dodonnabhain
Offline Send Email
Nov 4, 2008
6:35 pm
8689
Hi Donnchadh, Thanks for the link! I cannot seem to download the file off source forge so I'll have to try again a bit later... I keep getting a 404. btw yes,...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
7:05 pm
8690
All, Can someone please email me dddsample-1.0-src.zip as source forge will not let me download it. When I receive it from someone I'll reply to the list so I...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
8:52 pm
8691
Try to download it from this location: http://sourceforge.net/project/showfiles.php? group_id=210606...
Patrik Nordwall
patrik_nordwall
Offline Send Email
Nov 4, 2008
9:03 pm
8692
Try this link http://sourceforge.net/project/showfiles.php?group_id=210606 or just checkout from the sourceforge repo svn co...
Adam Tybor
atybor
Offline Send Email
Nov 4, 2008
9:05 pm
8693
Thanks guys I got it! *thumbs up*. Regards, Justin ... From: "Adam Tybor" <adam.tybor@...> To: <domaindrivendesign@yahoogroups.com> Sent: Tuesday,...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
9:07 pm
8694
All, This simple blog post: http://weblogs.asp.net/bsimser/archive/2007/01/21/domain-driven-design-for-c-3-0.aspx offers a simple explanation on how to apply...
Justin Daubenmire
JDaubenm
Offline Send Email
Nov 4, 2008
10:55 pm
8695
My first question would be wtf is the meaning of anything listed here. 1 namespace Car 2 { 3 class Wheel { ... } 4 class Position { ... } 5 class...
Greg Young
gumboismadeo...
Offline Send Email
Nov 4, 2008
11:30 pm
8696
Hello, I have an Order Aggregate Root and a Stock Aggregate Root. When I want to retrieve an Order from the OrderRepository I want the orderlines and Stock...
Scott Millett
elbandit33
Offline Send Email
Nov 5, 2008
3:40 pm
8697
this depends on the context of how stock and order relate. Stock may be it's own aggregate root, but in this context it appears stock is a child of the Order...
jasonmeckley
Offline Send Email
Nov 5, 2008
4:36 pm
8698
Yes Stock is a child of Order.OrderLine, but it has its own Respository. The reason its has its own respository and thus the reason for my original question is...
Scott Millett
elbandit33
Offline Send Email
Nov 5, 2008
5:14 pm
8699
yes, this looks good. i would make one adjustment though. encapsulate the StockItem maybe something like _StockRepository.AdjustStockOutBasedOn(Order); or ...
jasonmeckley
Offline Send Email
Nov 5, 2008
5:36 pm
8700
I'm using DDD with NHibernate. I was wondering, should domain objects ever call into repository object methods? For example, to go grab some related data...
fregasbaratis
Offline Send Email
Nov 5, 2008
5:46 pm
8701
One thing I have struggled with in DDD is this concept of "aggregate" roots. The .NET CSLA framework has a similar concept and I struggled with it back when I...
fregasbaratis
Offline Send Email
Nov 5, 2008
5:48 pm
8702
... If web stuff is your thing, I compiled a (very) short list of DDD/TDD ASP.NET MVC web applications last weekend: ...
Richard Dingwall
rdingwall@...
Send Email
Nov 5, 2008
5:48 pm
Messages 8673 - 8702 of 15993   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