Hi Pat, I don't know if you read my take on the whole cqs / events / messages post, but if one truly has a need to keep messages within the domain scope I...
14393
Udi Dahan
udidahan7
Aug 2, 2009 11:35 am
Pat, Eben, Within a given bounded context, domain events can and indeed should pass the domain object around by reference. Between bounded contexts, events...
14394
Udi Dahan
udidahan7
Aug 2, 2009 11:37 am
To tell you the truth, the Messaging BC doesn't sound very much like a bounded context - sounds like more of an adapter to the 3rd party component. -- Udi...
14395
Eben Roux
eben_roux
Aug 3, 2009 4:48 am
Hi Udi, While we're on the subject. Are these domain events really necessary? Let's take your GameReportedLost event. If nothing is listening to that event...
14396
Jesper De Temmerman
jesper.detem...
Aug 3, 2009 6:07 am
It's been a while since I worked on that specific project, but what we had were a set of classes that used the same data but used that data in different ways....
14397
Ben Ellis
dw_zaith
Aug 3, 2009 10:26 am
Udi, I have business logic around which route a message should be sent (based on customer profile, security settings and the message destination). For example,...
14398
nichols_mike_s
Aug 3, 2009 1:23 pm
I have a object that I have identified as an Aggregate Root called 'FracturedFacesTest'. It represents a materials test done in a laboratory. Within a Testing...
14399
Pat Maddox
burritoooboy
Aug 3, 2009 5:06 pm
Those calculations are domain logic, so should go in the model. Publish the results and let your reporting context pull them in. Pat...
14400
nichols_mike_s
Aug 3, 2009 5:52 pm
@Pat Thanks for your reply. Is it commonly held to keep models in a reporting context as dumb as possible then? At first I thought so but as I looked at the...
14401
jlembke
Aug 3, 2009 7:16 pm
Core numbers are a part of the domain, but the definitions for them live in another system (AS400 invoicing). We don't want to move that data to our new DB...
14402
Jesper De Temmerman
jesper.detem...
Aug 3, 2009 7:20 pm
Publishing data as events has a big impact on the overall architecture of your system. Not only do you have to push these events, you also have to receive them...
14403
Greg Young
gumboismadeo...
Aug 4, 2009 12:39 am
Perhaps its just the naming that is causing an issue. Let's call it the routing bounded context, it would make a lot more sense then. Personally I would tend...
14404
Greg Young
gumboismadeo...
Aug 4, 2009 12:45 am
Just to add some other reasons ... authorization requirements may change from one next etc etc. ... -- Les erreurs de grammaire et de syntaxe ont été...
14405
Pat Maddox
burritoooboy
Aug 4, 2009 2:56 am
If you don't want to move the data into your new DB, then you'll need to expose a service on the invoicing system. I would think you could do something easy...
14406
Ben Ellis
dw_zaith
Aug 4, 2009 9:45 am
Greg, Do you mean you would implement the pooling into the Model Representation of a Connection or into a Infrastructure representation of a connection? I'm...
14407
Tomas Karlsson
marcellus874
Aug 4, 2009 10:53 am
Hi, I am working on an internal presentation on DDD. I have no problems with examples, sample code etc. for the first three parts of the book. However, when I...
14408
Greg Young
gumboismadeo...
Aug 4, 2009 1:58 pm
I would consider the interfaces to be part of the model but the implementations to be infrastructure. ... -- Les erreurs de grammaire et de syntaxe ont été...
14409
Colin Jack
colin.jack
Aug 4, 2009 3:36 pm
... I'd recommend learning about capability modelling: http://www.infoq.com/minibooks/enterprise-soa One warning, if your going to do this it'll get very...
14410
Erik Lundby
ejlundby
Aug 5, 2009 2:38 am
Sent from my Windows Mobile® phone. ... From: Colin Jack <colin.jack@...> Sent: Tuesday, August 04, 2009 8:36 AM To: domaindrivendesign@yahoogroups.com...
14411
Erik Lundby
ejlundby
Aug 5, 2009 3:43 am
My apologies to everyone. Apparently I just did the butt dialing equivalent of participating in the group. When I saw the message from myself, at first I was...
14412
edowney_ericdowneydes...
edowney_eric...
Aug 5, 2009 1:18 pm
Hi Folks, Like several people in this forum I am a DDD newbie. I am rewriting a web application I wrote in DDD fashion. I'v built up my domain model and in...
14413
Randy Stafford
randalparker...
Aug 5, 2009 2:00 pm
Hi Eric, You're likely to get several responses to this. Historically my preference has been to use a Role and Player pattern for this sort of thing, e.g. see...
14414
edowney_ericdowneydes...
edowney_eric...
Aug 5, 2009 3:00 pm
Hi Randy, Thanks for the quick reply and the good info! When you started talking about roles and parties I suddenly remembered a book I purchased from Amazon...
14415
Rafael Peixoto de Aze...
rafael_p_aze...
Aug 5, 2009 3:08 pm
*Hi, Eric* Over the years I have avoided to use inheritance and specialisation in situations like these, because the ontological assumptions are too rigid. ...
14416
edowney_ericdowneydes...
edowney_eric...
Aug 5, 2009 3:15 pm
And of course after completely reading that link you gave me I see you're citing the same book...should probably read things through before opening my big...
14417
edowney_ericdowneydes...
edowney_eric...
Aug 5, 2009 3:22 pm
Hi Rafael, The reason I started with a Person object is because some people are Consultant(s) and therefore are not Employee(s) but they are still Person(s)....
14418
Randy Stafford
randalparker...
Aug 5, 2009 3:39 pm
No worries. Analysis Patterns is a great book. There are but few others in its very small genre of reusable object models - e.g. David Hay's Data Model...
14419
edowney_ericdowneydes...
edowney_eric...
Aug 5, 2009 7:11 pm
Ok, I've read through the section on Accountability (section 2.4). I have to admit I would understand it better with some code examples. I also found this...
14420
Jřrn Wildt
jorn_lind_ni...
Aug 5, 2009 7:22 pm
... I have been through exactly the same line of thought and came to the conclusion below. The context is membership management for labour unions. - Different...
14421
edowney_ericdowneydes...
edowney_eric...
Aug 5, 2009 7:45 pm
Yep, I'm beginning to agree, as usual, with MF. My difficulties lie in how to properly implement his Accountability diagram (I would prefer c# examples but I...