Hi Shantanu, I've seen that as well. What we did was to start introducing the UL as the language not only for code but for UML-diagrams and for use-cases and...
23404
tomasix
Jul 25, 2012 1:50 pm
Because there are a lot of operations workers execute on WorkOnBatch objects. It doesn't seem natural to do them through the Batch aggregate root. Also, the...
23405
Gary Stonerock II
garystonerockii
Jul 25, 2012 4:45 pm
"If your transactional boundaries are aligned with aggregate roots (eg you are using a NoSQL database), then I would broadly go along with what you are...
23406
Jorge Fioranelli
jorgefioranelli
Jul 25, 2012 5:01 pm
Hi Shantanu, I my experince, when using DDD you need to think twice before assigning behaviour to your entities. There are some edge cases where it is very...
23407
Colin Johnsun
colinadug
Jul 25, 2012 5:02 pm
The obvious answer is of course to have the developers talk directly to the domain experts (not necessarily the business owners). Another approach is to form a...
23408
Greg Young
gumboismadeo...
Jul 25, 2012 6:15 pm
"If your transactional boundaries are aligned with aggregate roots (eg you are using a NoSQL database), then I would broadly go along with what you are...
23409
Dan Haywood
danhaywood...
Jul 25, 2012 6:21 pm
... turn it around: what bad thing happens when I do not?...
23410
Shantanu Shekhar
shekharshan
Jul 25, 2012 6:27 pm
+1 ... From: Gary Stonerock II <garystonerockii@...> Subject: Re: [domaindrivendesign] Application service as a mere wrapper of a domain service To:...
23411
Greg Young
gumboismadeo...
Jul 25, 2012 6:33 pm
aggregates are by definition aligned with transactional boundaries (or at least attempted to with small pragmatic exceptions made). What goes wrong if they are...
23412
Shantanu Shekhar
shekharshan
Jul 25, 2012 6:43 pm
If aggregates are not aligned to transactional boundary then the primary purpose of an aggregate is defeated. The root cannot enforce aggregate wide...
23413
Greg Young
gumboismadeo...
Jul 25, 2012 6:47 pm
sure it can if I assume my aggregate boundary is everything :) ... -- Le doute n'est pas une condition agréable, mais la certitude est absurde. sure it can if...
23414
Greg Young
gumboismadeo...
Jul 25, 2012 6:48 pm
to be clear if I say *everything is consistent with everything* then aggregates can still maintain invariants... the problem is if I tried to make aggregates...
23415
Shantanu Shekhar
shekharshan
Jul 25, 2012 6:51 pm
Exactly, that is why I think if transaction boundary and aggregate boundary are not aligning it points to a flaw in the object modeling. Perhaps more objects...
23416
Dan Haywood
danhaywood...
Jul 25, 2012 7:22 pm
... All valid concerns. Adhoc boundaries would be indeed bad. The taxonomy of patterns with respect to granuarity is value, entity, aggregate, module, BC. For...
23417
backpack10000
Jul 25, 2012 7:26 pm
I apologize for dragging this topic, but I find this really confusing Part of the problem is that I haven't yet started learning DDD (I'm still fighting my way...
23418
Greg Young
gumboismadeo...
Jul 25, 2012 7:49 pm
modules are now our consistency boundaries? On Wed, Jul 25, 2012 at 3:22 PM, Dan Haywood ... -- Le doute n'est pas une condition agréable, mais la certitude...
23419
Jörgen Andersson
jorgenstockholm
Jul 25, 2012 7:49 pm
Hi Shantanu, This is a question worth considering. In general, dependencies are a double edged sword. On one hand software will not do much interesting without...
23420
Dan Haywood
danhaywood...
Jul 25, 2012 8:10 pm
... No, complexity boundaries. As I said, an RDBMS can take care of those xactn concerns. Let me ask: what do you use the module pattern for?...
23421
Jim Amsden
jim_amsden
Jul 25, 2012 11:30 pm
The distinction can be thought of as a way to partition aspects of business logic that can be addressed by different solution architectures or combined...
23422
Greg Young
gumboismadeo...
Jul 26, 2012 5:59 am
Modules are a form of complexity boundary. So is an aggregate boundary. This is however getting away from the original point where you said "if your...
23423
remyfannader
Jul 26, 2012 6:27 am
Things become clearer when a distinction is made between transient (aka session) and persistent (aka entity) aggregates, the former owned by transactions, the...
23424
Dan Haywood
danhaywood...
Jul 26, 2012 6:38 am
To those reading Greg's reply, it's only the first para that is from the glossary. The rest is Greg's commentary. (I got confused initially because the font...
23425
Jörgen Andersson
jorgenstockholm
Jul 26, 2012 9:13 am
Hi, Isn't this discussion on transactional boundaries and the definition of an aggregate actually starting in the use of different architectural approaches,...
23426
Remy Fannader
remyfannader
Jul 26, 2012 9:18 am
Jörgen, As far as I understand, some kind of event driven architecture is to be introduced if domains are distributed, i.e managed by independently controlled...
23427
Jörgen Andersson
jorgenstockholm
Jul 26, 2012 1:01 pm
Hi Remi, Possibly but perhaps not necessarily. In my current project we have lots of independently deployed systems working together. Some communication is ...
23428
stipdav
Jul 26, 2012 5:04 pm
Hi, I've very recently started looking into DDD, just shy of a week now, and I thought I would jump head first into it. In doing so I have come across a...
23429
mirkosertic42
Jul 26, 2012 5:04 pm
Hi there I am encountering the following requirements, and i'd like to ask if someone has an idea how to model this in the DDD Java based way: a) I have a set...
23430
Jörgen Andersson
jorgenstockholm
Jul 26, 2012 6:25 pm
Hi Stephen, My rule of thumb is to use services only for behavior that I can't fit in any entity or value object in the domain. I think that starting to use ...
23431
Shantanu Shekhar
shekharshan
Jul 26, 2012 8:23 pm
Stephen, I am also a youngling at this thing but based on my understanding DDD, is about relentless focus and refining of understanding of the domain model. I...
23432
backpack10000
Jul 26, 2012 11:41 pm
Language that you use is overly complicated for my tiny brains and as such I find your sentences too vague and left to the interpretation ... I have no...