Security can be its own bounded context - yours is one such case. BTW, multiple bounded contexts can be running within a given process. -- Udi Dahan From:...
... Does anybody know of diagrams which help show such DDD architectural principles visually? Seems like that could be helpful to newbies. sincerely....
Hmm... I think know what you mean here. Because there are specific model data requirements that act as the inputs to the security decisions (e.g. The attribute...
I think Robert Ream said it well, they are meant to be a single BC (as in: business subsystem), but CQS splits the subsystem into 2 "BC"s: Command BC and Query...
Does anyone have any thoughts on this issue of whether CQS and Event Sourcing can only be achieved in certain environments? Or more specifically, what...
Hi Greg Apparently the difference between SWIFT and BIC is that a SWIFT code is assigned by the banking institute in question, and later becomes a BIC code...
... Sourcing can only be achieved in certain environments? ... isn't available? According to Greg's latest InfoQ presentation "Unshackle Your Domain", he...
If you're simply trying to perform a transaction across multiple aggregate roots but you're still in the same bounded context, you could obtain a simple lock...
Hi all, I'm trying to work out which of my two entities should be an aggregate root, I have a User who can create many Campaign. If the User has the...
Hi Jonathan, ... Right, so this is a pessimistic strategy. How's this going for you in a distributed system? Does it scale? ... Well I don't agree with this -...
In his presentation 'Unshakle your domain', Greg explains that the Aggregate Roots consumes Commands and publish Events indicating the state change. The Events...
"Without some sort of additional framework to add transactions across aggregate roots the commit/aggregate root makes them a consistency boundary for...
... I think you should not, but you can use sagas.. Kind of transactions except that you apply compensating action if something fail instead of rollbacking....
Sorry for late reply, however it doesn't look like have much duplication.... it only the name of the methods are same, but look like it actually doing ...
One of the main reasons you probably want to look at this is that often times the failure (and compensation of) an action itself has domain significance. The...
Thanks Greg and Jeremie. Greg I definitely see that the action and corresponding action have significance in the domain. I've considered sagas as implemented...
... Of course there is some reading going on while processing a command on the C side by your "normal" orm means. However that is not carried out by the Q side...
I have been studying this group and various other resources on the matter of Bounded Context and have a few questions that I am fuzzy on. I have a new area of...
So let's say an organization offering access to cloud (web) services in the same vein that Amazon does wants to employ CQS. The implementation of a given...
... It actually can scale because it's not truly "pessimistic" in the classic RDBMS sense. I'll explain a little more below. ... From what I understand and...
Personally my biggest obstacle in learning CQS is that, i have seen lots of beautiful texts and drawings about it, but i haven't found any code. When I...
Yes, Sagas are part of the domain. It's a kind of 'domain transation', in the same way you would do when you come at the supermarket checkout : either you pay...
... That's actually the post I was referring to (although I should have linked to it). The idea is that when the client builds a command, he's doing so using...
Hi Jonathan, ... That's not what I get out of the thread - it's not about issues with the eventually consistent model, it's about resolving conflicts with ...
That's a good example Jeremie, thanks. What I meant to say is that the way sagas are usually implemented using ESBs feels like a lot of infrastructure is...
Probably because the Saga lifetime is very transiant and doesn't reference to a 'real world' entity... And an entity consumes Commands and publishes Events, a...
I haven't used them either but now I have a situation that requires them. So it sounds like a saga is a stateful domain message handler used to coordinate...