Excellent presentation, Chris. My team and I have been practicing DDD for the past year or so, and have a significant and robust stack at this point. We use...
I'm wondering what people think of my way of handling the following scenario. I have a User which has an ProfileImage. When I delete the profile image I have...
Sounds pretty good. At least in the way you implemented it with using seperated interface etc... The only thing that springs to my mind is if you have a...
... Hi Brad, The possibility of injecting a repository into an entity does enable some interesting designs indeed. Unfortunately the Hibernate's CGLib ...
Thats pretty much what we do and personally I don't see there being any problem with it. If you really wanted an extra layer of seperation then the ...
Sean, I'm glad that you liked the presentation. The MoneyTransferService I describe in the presentation is a simplified but typical service in the applications...
Hi Brad, Glad you liked the presentation. Injecting dependencies into entities is definitely useful and avoids passing dependencies through many levels of...
... Hi Geert, Could you please elaborate on how exactly the interference happens? I'm interested in learning more details about this, because we've been using...
... Hi Jing, I remember struggling with this for a while. One of the first issues I had was that Hibernate calls a default constructor of persisted objects to...
Chris, Thanks again, This is the thinking that I was having so I'm glad I have the right idea. I currently am using C# and I use Castle MonoRail for my MVC...
Hoping someone could weigh in on this design... I have a pluggable type 'Plugin' which is dynamically configurable. These are Aggregate Entities. I thought to...
Why not use a PluginService to coordinate the work with StateRepository, PluginRepository and Session. That would probably make more sense then providing a...
Hi there, thanks for your reply, What do you see as the interface for a PluginService coordinator? I want the Plugin to function as a business object which is...
Hi Chris, Sorry for the delayed reply, this has been stuck in my inbox for a while. My preference for presenting and changing object state for users is via...
Yeah that can sometimes work but if you use it too widely surly you end up with lots of very similiar classes? ... this ... is ... The sad ... of a ... than...
Most applications have some configuration/settings/options that customizes how the application behaves. Some store this in registry, others in a file, and...
I don't think you can necessarily dismiss all of these settings as "not part of the domain". For instance, if you have externalized the configuration of a...
Tony, thanks for covering this. It just confirmed what I was just contemplating with my own project this evening and I have to agree. In my particular project...
... Haven't thought of it that way - thanks for the tip. ... interface ... So in this example, are you saying that the settings would be part of the domain...
I've been looking at BDD and although it interests me I haven't seen a good example of it being applied with DDD and I wondered if any of you had tried? If so...
Hi Tomas, Would you clarify further why you think that making the order class apart of customer class is "unnatural"? I don't mean to be to rigid, but my...
Jiho, You bring up some good points. Here is how I generally think about it. Only if the setting is directly affecting business logic does it belong in the...
... I was just wondering - if those are per-user "settings", they _could_ be seen as belonging to some UserProfile, which debatably could be considered part of...
... I agree Things like colors, fonts, etc, that are part of the UI could be belong to a /Theme/ and column lists could belong to a /ListView/. These could...
Hi domain crunchers. I had some questions about my hypothetical domain, to study the Eric Evans Book. I have the follow situation. A bank system that I want to...
I am curious as to how everyone organizes their Domain model namespaces. All other assemblies situated around the domain model I organize by function but I...
Hi, I'm probably worrying about this way more than I should, but a question about one of the book examples has been gnawing at me a bit. On page 350 (in my...
I would think that even if these color, font, etc settings could belong to a UserProfile they should not be considered a part of the core domain, they should...