Search the web
Sign In
New User? Sign Up
domaindrivendesign · Domain-Driven Design
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2182 - 2211 of 16018   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2182
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...
bernard_notarianni
bernard_nota...
Offline Send Email
May 1, 2005
10:52 am
2183
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...
Bil Simser
sim0099
Offline Send Email
May 3, 2005
11:04 am
2184
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)...
Oguz Bayram
obayram
Offline Send Email
May 3, 2005
11:35 am
2185
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...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2005
1:50 pm
2186
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...
Rex Madden
rexmadden
Offline Send Email
May 3, 2005
2:49 pm
2187
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...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 3, 2005
3:13 pm
2188
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...
Dan Weinmann
Danweinmann
Offline Send Email
May 3, 2005
3:20 pm
2189
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...
Rex Madden
rexmadden
Offline Send Email
May 3, 2005
6:28 pm
2190
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....
zz355587
Offline Send Email
May 3, 2005
7:17 pm
2191
... 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...
Anssi Piirainen
anssipiirainen
Offline Send Email
May 4, 2005
6:31 am
2192
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...
Udi Dahan
udidahan7
Offline Send Email
May 4, 2005
7:02 am
2193
You might be violating the single responsibility principle, which says that each class should handle exactly one responsibility. You will have domain objects...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 4, 2005
1:30 pm
2194
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...
zz355587
Offline Send Email
May 4, 2005
6:49 pm
2195
... 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...
Anssi Piirainen
anssipiirainen
Offline Send Email
May 4, 2005
8:18 pm
2196
... 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...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 4, 2005
8:58 pm
2197
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...
zz355587
Offline Send Email
May 5, 2005
1:59 am
2198
... 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...
Anssi Piirainen
anssipiirainen
Offline Send Email
May 5, 2005
7:45 am
2199
DTOs are also useful for isolating service requestors from service implementations. The domain the services use for their implementations can evolve without...
Jim Amsden
jim_amsden
Offline Send Email
May 5, 2005
12:36 pm
2200
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...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 5, 2005
2:01 pm
2201
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...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 5, 2005
2:58 pm
2202
Steve, Interfaces by themselves aren't enough because of the types of their parameters. The clients are coupled to implementations through these types. DTOs...
Jim Amsden
jim_amsden
Offline Send Email
May 5, 2005
3:03 pm
2203
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...
Rex Madden
rexmadden
Offline Send Email
May 5, 2005
3:26 pm
2204
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...
Jim Amsden
jim_amsden
Offline Send Email
May 5, 2005
4:10 pm
2205
I have a project structure that looks like project.BusinessObjects project.UI.Web project.UI.Win Where should I put my Repositories? dru...
Dru Sellers
drudustinsel...
Offline Send Email
May 5, 2005
5:05 pm
2206
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...
Dru Sellers
drudustinsel...
Offline Send Email
May 5, 2005
5:05 pm
2207
This is maybe out of topic, but could you recommend tools for the job?, (Java and/or .NET) _____ From: domaindrivendesign@yahoogroups.com ...
Roni Burd
roniburd
Offline Send Email
May 5, 2005
5:20 pm
2208
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: ...
Molitor, Stephen L
steve_molito...
Offline Send Email
May 5, 2005
6:04 pm
2209
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 ...
Stafford, Randy
randalparker...
Offline Send Email
May 5, 2005
6:21 pm
2210
I put them in the same package as the Entity...
Rex Madden
rexmadden
Offline Send Email
May 5, 2005
7:45 pm
2211
No, your Organization repository should only return Organizations or answer questions about the organizations. Is StaffMember part of the aggregate? Or can you...
Rex Madden
rexmadden
Offline Send Email
May 5, 2005
7:48 pm
Messages 2182 - 2211 of 16018   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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