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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Messages 17434 - 17463 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
17434 Riccardo
riccardo.pas... Offline Send Email
Mar 1, 2010
8:08 am
in my poor DDD knowledge i should say that "Comment"s are entities in the "Project" aggregation root... they don't need a global identity......
17435 Matthias Kampen
mkmailinglistaccount@... Send Email
Mar 1, 2010
1:08 pm
... Don't you have to revalidate the command on the processing side to prevent bugs or hackers from sending unallowed commands? Regards Matthias...
17436 Jeff Lowe
jefflowe7 Offline Send Email
Mar 1, 2010
1:51 pm
... So assuming that all dependencies are on the interfaces, I would say that you are in fact following the Dependency Inversion Principle (i.e. "Abstractions...
17437 jps737 Offline Send Email Mar 1, 2010
2:36 pm
Thanks Udi and Vaughn. ... It's my fault for not explaining what Sales, Purchases, and Expenses are in the context of performance. Sales for example are driven...
17438 elbandit33 Offline Send Email Mar 1, 2010
4:28 pm
I am modelling a simple library domain and have identified the following entites: - Book - Copy - Member - Loan I have also identified these aggregates - Book...
17439 Yuji Kiriki
yujikiriki Offline Send Email
Mar 1, 2010
4:31 pm
The definition of Value Objects, Entities, etc comes from the domain you are modeling. You should "hear" the domain, it will tell you what is an enityt and...
17440 Udi Dahan
udidahan7 Offline Send Email
Mar 1, 2010
6:25 pm
Indeed we do revalidate the commands. So if hackers send us bad commands, let them get a crappy user experience and wait for the rejection email. Commands from...
17441 vvernon_shiftmethod
vvernon_shif... Offline Send Email
Mar 1, 2010
6:26 pm
Here's one way to analyze this. If the comment needs to maintain a thread of continuity, a lifetime, then it is an Entity. So, for example, if the comment is...
17442 Udi Dahan
udidahan7 Offline Send Email
Mar 1, 2010
6:32 pm
... Bugs here, bugs there. Garbage in, garbage out. Temper your expectations once you allow bugs in the mix. Event sourcing isn't a silver bullet either. --...
17443 vvernon_shiftmethod
vvernon_shif... Offline Send Email
Mar 1, 2010
6:52 pm
That's not all there is to Layers. With a Layers architecture, the interface policies in a given layer may be referenced only by a layer above it. It doesn't...
17444 sebaszipp Offline Send Email Mar 1, 2010
7:22 pm
I suggest giving more specific names to the concepts of your domain for the case of book copies. Maybe [BookTittle, Book] makes more sense in terms of the UL....
17445 vvernon_shiftmethod
vvernon_shif... Offline Send Email
Mar 1, 2010
7:35 pm
... Not necessarily. An Aggregate will have an Aggregate Root, which is an Entity. That root entity will many times have a reference to one or more other...
17446 vvernon_shiftmethod
vvernon_shif... Offline Send Email
Mar 1, 2010
8:08 pm
... That's really up to his DEs. ... Where do you get the idea that there is always only one Aggregate and hence one Repository in any single given BC? Isn't...
17447 Dan Haywood
danhaywood... Offline Send Email
Mar 1, 2010
8:30 pm
The domain in which concepts like View, Controller and Presenter makes sense is a framework that implements these concepts, eg Spring Webflow or Struts. But...
17448 elbandit33 Offline Send Email Mar 1, 2010
8:40 pm
Ah, I see what you mean, how about this... So I have a database table of Books (ISBN, Title) and a table called Copies (CopyId, ISBN (FK)) my Book aggregate...
17449 Piotr Perak
perimcs Offline Send Email
Mar 1, 2010
8:57 pm
... This is interesting. How this would be implemented? That means that book can't return it's copies right? It would have methods like ...
17450 sebaszipp Offline Send Email Mar 1, 2010
9:22 pm
I think we got 1 AR per use case (not for BC). Sorry for typing the wrong word. We got more than 1 Repository per use case since 1 is for the AR and other/s...
17451 vvernon_shiftmethod
vvernon_shif... Offline Send Email
Mar 1, 2010
10:05 pm
The example code book.doSomethingToCopy(aCopyId) is not about getters/queries. It is about commands (see traditional CQS, Meyer). To use your example we could...
17452 Bad
phuongnd11 Offline Send Email
Mar 1, 2010
10:39 pm
I also agree comments are entities but the Technical Leader still set it to be Value Object. So plz tell me what's your choice and why???...
17453 Justin Bozonier
justinbozonier Offline Send Email
Mar 1, 2010
10:49 pm
Have you asked your technical leader?...
17454 julien.lavigne Offline Send Email Mar 1, 2010
10:50 pm
I'm curious: assuming you are using event sourcing, where would you check the unique constraint? I would do a query in the command handler before calling the...
17455 Dan Haywood
danhaywood... Offline Send Email
Mar 2, 2010
7:11 am
Here's some questions to ask yourself: 1. is the Comment object immutable? If no, then it's an entity 2. is it small in size (like a string or a number)? If...
17456 Szymon Pobiega
simon_vv Offline Send Email
Mar 2, 2010
8:36 am
Hi everybody! It's been almost 5 months since I started my DDDSample.Net project. I would like to share with you some information on the current state of the...
17457 jbenami1 Offline Send Email Mar 2, 2010
8:53 am
Where's the code? Joni ... would like to share with you some information on the current state of the project. ... baseline for any comparisons. There is also...
17458 Nuno Lopes
nbplopes Offline Send Email
Mar 2, 2010
12:13 pm
When you update the comment do you get the same comment given by the person at that point in time? You need to ask your domain experts. Because you could get...
17459 sebaszipp Offline Send Email Mar 2, 2010
1:18 pm
Hi Vaughn, How do you deal with that code when you got performance issues due to huge collection of agreements?...
17460 rogeralsing Offline Send Email Mar 2, 2010
2:06 pm
I'm still trying to grasp the idea of completely private state on entities. How do you test those entities? lets for the sake of the argument say that we have...
17461 Riccardo
riccardo.pas... Offline Send Email
Mar 2, 2010
2:14 pm
mmm the addItem could return the item count and you can test the return value other kind of operations could be side-effect-free and easily testable......
17462 sebaszipp Offline Send Email Mar 2, 2010
2:31 pm
Use -expectations- instead of checking state. I use Mockito that is semantically great. testOrderLineShouldBeCreated [ Collection lines = mock(...) // mock the...
17463 rogeralsing Offline Send Email Mar 2, 2010
2:45 pm
In that case you are exposing state, just in a strange way. Also, if you want to test some other behavior of the same method, you are out of luck....
Messages 17434 - 17463 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