... Well, the code to actually do the indexing is totally separate, so the only question is where to put information about what to index. If I put it in the...
... That's what leads me back to language, which is DSL in my case. I can concentrate metadata on whatever type I need, and then generate the pieces elegantly....
Hi Dan, Yes, I actually expected you to be one of the first to comment :) but I appreciate you probably had to holiday in Spain or some other comfortable...
Hi all, We have a pretty simple model that has until now been encapsulated in one bounded context, revolving around content management (CMS). There was a user...
16750
Richard Dingwall
rdingwall@...
Jan 3, 2010 10:01 am
... It does sound bizarre and unwieldy :) What is the need for combining these two roles into one? -- Richard Dingwall http://richarddingwall.name...
I am working on the design of a new system. Part of the model are customers, contracts, and estates. A customer has one or more estates, a contract is an...
In C#/.Net, an idea would be to put each root aggregate in a separate assembly, and make the constructors of non root aggregate entities internal, thus only...
... How do you treat "Contract" is an aggregate root? Generally, contract will be create a new one instead of change. Hope this article gives you idea :...
Yes, the contract will only be changed if it was registered incorrectly, but to the contract different tasks are attached, tasks that are done to fulfill the...
Good question. The User entity contains, among other things, a collection of Folders, which in turn contain collection of documents, queries and comments. The...
You would divide up that object graph (or even some of the fields on the various entities) such that none of them were shared between business contexts. The...
Hi there, I have been reading about using DTO's and the assembler pattern ala martin fowler and have to admit I am confused regarding how DTO's and business...
Guess I found the answer in another thread, AR:s should never hold references to each other, so using a Value Object is not really a bad idea. (Another matter...
I will follow the terminology in your post here. Let's start from the business objects which encapsulates the behaviors and business rules in our domain. This...
This is pretty much how we build our domain objects too...though on the CreateOrder side, why call it "OrderDTO"? Why not just have a "CreateOrderCommand"?...
16761
Richard Dingwall
rdingwall@...
Jan 3, 2010 9:53 pm
... Actually this is totally viable - ARs are the only thing that should be creating child objects anyway, so they can just pass themselves into the...
Make sure you use names from your Ubiquitous Language. My guess is that your domain experts never speak in terms of UserWrapper and UserInfo. I would propose a...
A problem though would be homonyms, i.e. domain experts might use the term user both in the CMS and the CRM domain. It might be better to just use CmsUser and...
... It's ok if there are three User objects, one in each BC. There is no need to name them differently just because. The different Module names in each BC will...
Good day to all and a happy new year! Â I've been tasked to build an employee management and an attendance monitoring system. I've been really given a vague...
I was hoping for a suggestion ________________________________ From: David Perfors <dnperfors@...> To: domaindrivendesign@yahoogroups.com Sent: Tue,...
... Well, it sounds like you have a situation where it makes sense to build a rich model to handle the (moderate) complexity of your domain, separately from...
... That's easy: NServiceBus, or rather MSMQ, is transactional. If you rollback your SQL statements you also rollback any published events. You don't have to...
Good day! Â What are the factors to consider if classification (using enum in .NET) or subclassing should be used when defining an entity/value object? Â ...
Good day! Â What are the factors to consider if classification (using enum in .NET) or subclassing should be used when defining an entity/value object? Â ...
16774
Richard Dingwall
rdingwall@...
Jan 7, 2010 6:32 am
... Enums have no behaviour. The tate and strategy patterns do. -- Richard Dingwall http://richarddingwall.name...
16775
Richard Dingwall
rdingwall@...
Jan 7, 2010 6:33 am
... state* :) -- Richard Dingwall http://richarddingwall.name...