181 reputation
6
bio website
location
age
visits member for 3 years, 10 months
seen Sep 26 at 5:50

Feb
22
comment Are Domain Objects in Domain Driven Design only supposed to be write-only?
But is the Query part of CQRS all about querying data that is used by the domain model to write changes to the model or can it be used to querying data for the application layer that might say show the values to the user? I'm hearing from some that DDD is all about coordinating changes and should not be used to read from for any other purpose than to coordinate changes to another object within the domain model. The decision one way or the other would mean a radically different model design seeing that exposed data on domain objects would be vary limited if it is only consumed in the domain.
Dec
21
comment Are Domain Objects in Domain Driven Design only supposed to be write-only?
Thanks for that suggestion. I feel a little uneasy about the idea of modifying my domain classes specifically for testability but I suppose this may be one of those grey areas still in Domain Driven Design if you want it to be testable. Another thought is that if one were to expose stabilizability and testability through the same interface then at least your only introducing one infrastructure dependency instead of two. What do others think of that?
Dec
17
comment Are Domain Objects in Domain Driven Design only supposed to be write-only?
Could you elaborate a little bit on whether this still applies when you are not making use of event-sourcing?
Dec
16
comment With all of these services, how can I not be anemic?
@Andy - I would agree however if your behaviors are within Domain Services and they operate on anemic objects (okay DTOs if you wish) then doesn't that increase the reuse of those behaviors? Just playing devil's advocate.
Apr
4
comment Do job postings exaggerate their requirements?
Dommer - Not sure what the down votes were about, so I bumped you up one because I think your answer was reasonable.
Dec
20
comment Is using ELSE bad programming?
@gablin - As a C# programmer enforced indentation is one bit of envy that I have for Python. At least we have nice static analysis tools though like StyleCop.