Hi, In the DDD style I have developed over a handful projects over the last years, I will propose the following solution: The Location tree structure should be...
This sounds like an asset or inventory application and I've been working on one of those myself and while I'm not using DDD on it I'll give you what insights I...
Is this a good example of a service : In a sales application, we have to know how much taxes must be paid. This depends on : -Country of the seller -Type of...
Thanks for the response Eliott, Yeah, that does make sense. What i guess i'm really trying to see is if we have a simple ordering system, what would you...
... I'm might not be the best calified person to answer, but my actual understanding is that : -Entities are business "things" which have system wide...
Hi, Over the last years, I have seen many threads on how to 'sell' DDD, and on how the get credit for using DDD in successful projects. I am currently reading...
As we know in real world entities (main element in the model) are stored by using ORMs. So actually entities are mostly related to database schema. But when we...
Migrating data when the information model is changed is the least agile thing in this business. On the other hand, the business people have spent a lot of time...
... There are definitely other ways to do it as well. For myself, my favourite is to use serialized objects put into id/blob-style databases (which could be an...
Hello all, Quick question: I have task layer implementing services for the domain. These talk to repositories through, obviously, IRepository interfaces. ...
You are right: caching is not a domain concern. Put it in the infrastructure layer in your data access implementation classes. It should ideally be completely...
What I tend to do is: - let the ORM manage the caching, and not change anything in the implementation of the repository - if you still need some specific...
Christophe Vanfleteren
c.vanfleteren@...
Jul 11, 2008 11:12 am
7796
Hey Christophe, I do not use an ORM. I like the decorator idea. Now the next question is whether to actually use a decorated delegating repository or just...
Hey Eben, I'd still go for the decorating approach, even if you'll still only expose the caching one. It just keeps the two seperate concerns (caching and data...
Christophe Vanfleteren
c.vanfleteren@...
Jul 11, 2008 2:33 pm
7798
Hello, I have the following situation: Hand is an aggregate which consists of several Fingers. Each Finger can only belong to one Hand. So Hand is an aggregate...
HI, I'm not sure what would be meaningful in this domain :) Anyway if you don't have business rules or architectural constraints that would forbid this...
Hello Phillip! Thanks for your reply! ... My problem is, that I have a alot of aggregates in my applications which follow the schema of this example: The...
Hello Matthias, In my point of view, it seems that the conversion from DTOs to Entities is an application layer task but, the constraint about adding, editing...
Hi, This might seem like a stupid question, but I want to see what others are doing. They say that a rule of thumb is that each aggregate root gets it's own...
Hello Daniel, wouldn't adding overrideFingers() "break" the one to many relationship between hand and its fingers as one could come up with the following code:...
Something of a trivial question, but I'm wondering what others are doing. Normally, I would always access my repositories generically, however, there are two...
I usualy use aka ICustomerRepository extends IGenericRespository<Costumer> In CRUDS, this model meets very well. Regards. ... -- ... http://www.digows.com/ ...
In .NET land it does seem like Linq is starting a trend towards "I don't care too much about NHib code leaking into my domain" I would certainly have a...
On Tue, Jul 15, 2008 at 4:32 PM, Rodrigo Pereira Fraga <rpffoz@...> ... Roughly the same as what we do, yeah. Generic repo with base functionality, ...
If you can use C# 3, the Linq provider to NHibernate may let you have your cake and eat it too. It makes generic repositories more attractive. A few people...
Yes and I also agree that the model design should not be changed frequently. This is because Domain Driven Design is for the specific domain, this indicates...
Thanks for the hint! ... From: Greg Young <gregoryyoung1@...> To: domaindrivendesign@yahoogroups.com Sent: Tuesday, July 15, 2008 7:52:55 PM Subject: Re:...