Skip to search.
domaindrivendesign · Domain-Driven Design

Group Information

  • Members: 2907
  • Category: Software
  • Founded: Sep 27, 2002
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Messages 2182 - 2211 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2182 bernard_notarianni
bernard_nota... Offline Send Email
May 1, 2005
10:52 am
In addition of Kent Beck book, I'll add this one, mandatory to start with, and then go to Beck's pattern: Smalltalk, Objects, and Design by Chamond Liu This is...
2183 Bil Simser
sim0099 Offline Send Email
May 3, 2005
11:04 am
Recently we undertook a bit of a shift in a project I'm working on and I'm just processing the change but wanted to see what others thought. The original model...
2184 Oguz Bayram
obayram Offline Send Email
May 3, 2005
11:35 am
Most of the time DTOs are used for complex data structures, lets say a data set with (Project, Task, WorkItems) however for simple entities (single table)...
2185 Molitor, Stephen L
steve_molito... Offline Send Email
May 3, 2005
1:50 pm
How do the DTOs, or now the domain objects, get sent to the UI? Is there a network in between? In other words is this a remote think client? If not, then I...
2186 Rex Madden
rexmadden Offline Send Email
May 3, 2005
2:49 pm
there may also be situations to use gui helpers. Sometimes your gui can be complex enough that it needs data in a different format than your domain objects...
2187 Molitor, Stephen L
steve_molito... Offline Send Email
May 3, 2005
3:13 pm
Re gui helpers or adapters - absolutely. These can be very useful. But I'd introduce them on an as needed basis. If the domain object does what the gui...
2188 Dan Weinmann
Danweinmann Offline Send Email
May 3, 2005
3:20 pm
I agree with your suggestion and it would make the domain more clear. Since Item is heavily influenced by Account, should I not have a factory class but rather...
2189 Rex Madden
rexmadden Offline Send Email
May 3, 2005
6:28 pm
yeah, we use them as a last resort - I'll sneak extra methods into the domain objects first, then resort to a helper if things get more complicated. Rex...
2190 zz355587 Offline Send Email May 3, 2005
7:17 pm
I'm against helpers in general, often it means not-so-good interface exposed by the service. In addition, it opens a back door for no-one-wants-to-have stuff....
2191 Anssi Piirainen
anssipiirainen Offline Send Email
May 4, 2005
6:31 am
... I have been planning to distribute domain objects also with remote services. This is how I planned to do it: I think i could make all domain objects...
2192 Udi Dahan
udidahan7 Offline Send Email
May 4, 2005
7:02 am
In my experience, once you decide to have a single remote service for many clients, the first thing you need to be considering is how you are going to handle...
2193 Molitor, Stephen L
steve_molito... Offline Send Email
May 4, 2005
1:30 pm
You might be violating the single responsibility principle, which says that each class should handle exactly one responsibility. You will have domain objects...
2194 zz355587 Offline Send Email May 4, 2005
6:49 pm
One thing to keep in mind is that domain objects are fine-grained and stateful, and remote api's are coarse-grained in general. Distributed Object has many...
2195 Anssi Piirainen
anssipiirainen Offline Send Email
May 4, 2005
8:18 pm
... Yes, this is a thing that has to be remembered. I think DTOs were originally invented to avoid the need to call fine-grained methods of entity EJBs. In my...
2196 Molitor, Stephen L
steve_molito... Offline Send Email
May 4, 2005
8:58 pm
... When you say 'middle tier' and 'ui tier', are these just logical layers running within the same process? In Java terms, are the middle and ui layers both...
2197 zz355587 Offline Send Email May 5, 2005
1:59 am
Good to see it's not distributed object. My ignorance. I don't know much about Service Data Objects, but one thing to consider is versioning, one of the tough...
2198 Anssi Piirainen
anssipiirainen Offline Send Email
May 5, 2005
7:45 am
... They are running in different processes. The domain layer is in an EJB container running in machine 1 and UI layer is running in a Servlet container...
2199 Jim Amsden
jim_amsden Offline Send Email
May 5, 2005
12:36 pm
DTOs are also useful for isolating service requestors from service implementations. The domain the services use for their implementations can evolve without...
2200 Molitor, Stephen L
steve_molito... Offline Send Email
May 5, 2005
2:01 pm
Jim, I've heard that argument, and worked on systems that used DTOs precisely for that reason. But in my experience it's not a good approach. It adds more...
2201 Molitor, Stephen L
steve_molito... Offline Send Email
May 5, 2005
2:58 pm
OK, then you will need DTOs, since you're running in a distributed environment. If you have a rich domain model, then definitely do NOT try to make your...
2202 Jim Amsden
jim_amsden Offline Send Email
May 5, 2005
3:03 pm
Steve, Interfaces by themselves aren't enough because of the types of their parameters. The clients are coupled to implementations through these types. DTOs...
2203 Rex Madden
rexmadden Offline Send Email
May 5, 2005
3:26 pm
Are you worried about having to add and remove parameters? While it might be a pain to have to change client code when adding a parameter, it would be an even...
2204 Jim Amsden
jim_amsden Offline Send Email
May 5, 2005
4:10 pm
No, not adding or removing parameters, but having their types change. I think DTOs are intention revealing - but in this case the intention is what data is...
2205 Dru Sellers
drudustinsel... Offline Send Email
May 5, 2005
5:05 pm
I have a project structure that looks like project.BusinessObjects project.UI.Web project.UI.Win Where should I put my Repositories? dru...
2206 Dru Sellers
drudustinsel... Offline Send Email
May 5, 2005
5:05 pm
I have an AggregateRoot called Organization it has a child which is RelatedCompany which has a child StaffMember In my web app, I am trying to get the...
2207 Roni Burd
roniburd Offline Send Email
May 5, 2005
5:20 pm
This is maybe out of topic, but could you recommend tools for the job?, (Java and/or .NET) _____ From: domaindrivendesign@yahoogroups.com ...
2208 Molitor, Stephen L
steve_molito... Offline Send Email
May 5, 2005
6:04 pm
Not to beat a dead horse too much (we may never settle this one!), but here's an interesting article on using DTOs in a non-distributed environment: ...
2209 Stafford, Randy
randalparker... Offline Send Email
May 5, 2005
6:21 pm
Local DTOs can also be useful for carrying a client's edits into a transaction context in an undistributed system, when there is no better way to do so. Randy ...
2210 Rex Madden
rexmadden Offline Send Email
May 5, 2005
7:45 pm
I put them in the same package as the Entity...
2211 Rex Madden
rexmadden Offline Send Email
May 5, 2005
7:48 pm
No, your Organization repository should only return Organizations or answer questions about the organizations. Is StaffMember part of the aggregate? Or can you...
Messages 2182 - 2211 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help