... This is a question without a definitive answer. My quick answer is I'd use a DTO with customers and accounts. My long answer is.... In my mind how thick...
... Chris, at the moment I've got the same problem that "m_alanliu" described. So thank you for your detailed post. But I'm not fully convinced. Im my last...
... I hear your DTO pain. (And envy your language abilities.) To rant. I hate DTOs. I wish we could just never have to deal with remoting issues. If we have to...
I realize the book does not prescribe a process, but I'm unclear as to where domain modelling fits into a process. If you have a non-DDD process that uses use...
This discussion boils down to your traditional Remote Procedure Call (RPC) versus Messaging issue/flame wars. You need to decide where your application...
My experience and belief is that conceptual domain modeling occurs in or before use case identification, whether unconsciously or unconsciously. For example,...
Hi, I wanted to start a thread on an issue that seems to put up very frequently: the use of DTO and the trouble and duplication that it generates. My purpose...
... Hi Roni The issue I had with DTOs and duplication was as follows: We were using Java and Hibernate and so we had BOs defined and mapped to our RDMS. This...
I work almost completely in the .NET world where parts of the ADO.NET model (DataSets/DataTables) are touted as DTO and there is much plumbing to handle ...
But I thought use cases were intended to capture the users' requirements in their own words, and from the use cases evolves the domain terminology (ubiquitous...
Here's a story of how a powerful insight, coming at the end of a long chain of refactorings, can bring sudden simplicity to a thorny problem. In the book, Eric...
Hi Dan Thanks for the story. It was inspiring. We have run into similar situations where the originally distinguishing factor (in/out) direction turns out not...
The problem I have with DTOs is most of the time I can live without them, but then a special case arises. Using hibernate I move objects to the UI most of the...
Great story Daniel, thanks much for you tale, /hba ... <snip/> __________________________________________ Yahoo! DSL – Something to write home about. Just...
... We are/were using web services. XML does not know what a list is so we have to convert to an Array of the object type. I guess this a trade off for using...
... [sigh] ;-) ... Yes. ... I've read your answer with great interest. After this and many other readings and discussions the last days, I'll decided to try a...
... (RPC) ... and the ... Surely, OOP is not the end of all programming, but I truly think what's really important, is to use the same language and terms all ...
Torsten, Don't give up, and don't just implement things a certain way, just because someone says it is the right thing to do. Before a person uses a new ...
Roni, DTOs can be a real pain if you end up having to reproduce your whole domain model in them. However, that shouldn't be necessary as DTOs should only be...
... <christoferjennings@y...> wrote: Thanks a lot for your posts. Your reasoning is very true. The clients are going to be very thick. Since we(at least I) had...
... requirements in their own words, and from the use cases evolves the domain terminology (ubiquitous language) which feeds the DDD domain modelling...
I have two applications. They each have their own Domain of business problems. I want to share some bits of code between the two domains. This code relies on a...
I can't offer an answer as I don't fully understand your domain. I have a question though: How much do the two applications have in common, and how much do...
... This question really strikes to the very heart of modern distributed system design. Having been involved projects that have tried just about every possibly...
... (RPC) ... and the ... The thing is though that ORMs have already largely solved this problem: the problem of optimising model operations into a minimal set...