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...
Show off your group to the world. Share a photo of your group with us.

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 7005 - 7034 of 16036   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7005
This is a really interesting topic, and there have been a lot of good comments. However, no one has brought up the issue concerning the reality that the model...
arioch022000
Offline Send Email
Mar 3, 2008
8:20 am
7006
... the model used for a system that's only going to be deployed on one machine. I think it would be more accurate to say that the design of a distributed ...
Udi Dahan
udidahan7
Offline Send Email
Mar 3, 2008
10:21 am
7007
Richard I totally agree. If a client calls on a domain object to discharge one of its responsibilities, and the domain object's implementation of that...
randy stafford
randalparker...
Offline Send Email
Mar 4, 2008
2:12 am
7008
Yes, actually I didn't express my thought clearly. the userDomain appeared in my code stands for the meaning of "domain for user management", which is a facade...
acqy_sunnychen
Offline Send Email
Mar 4, 2008
2:19 am
7009
Firstly let me say sorry for my "stupid" question. Because I'm a newbie on SOA and DDD fields. SOA is very hot in these years. But I think no matter what SOA...
acqy_sunnychen
Offline Send Email
Mar 4, 2008
2:48 am
7010
I think it's important to explore this question, it's certainly not a stupid one. I've also posted the question at the following... ...
arioch022000
Offline Send Email
Mar 4, 2008
3:16 am
7011
Should DTOs maintain the object relations? For example if I have two Entities: User and Forum. A user could be the moderator of several Forums, and a Forum of...
acqy_sunnychen
Offline Send Email
Mar 4, 2008
6:46 am
7012
Another post that seems to be related to my question is here: http://geekswithblogs.net/opiesblog/archive/2006/08/18/88396.aspx please also take a reference to...
acqy_sunnychen
Offline Send Email
Mar 4, 2008
8:29 am
7013
... If the clients of DTO have no use for such a relationship, I don't see why you would have to implement it. In my experience, even when I have bidirectional...
Zdeslav Vojkovic
zdeslav_v
Offline Send Email
Mar 4, 2008
9:37 am
7014
Hi, thx for your suggestion Greg. Implementing an observer mechanism is a trivial task since it is pretty much baked into the language we are using so that...
Christophe Herreman
herrodius
Offline Send Email
Mar 4, 2008
9:47 am
7015
Hi, Scope differs a lot. DDD's target is a specific domain, while SOA is an architectural organization to cross domain boundaries. Some advanced DDD concepts...
Alberto Brandolini
ziobrando
Offline Send Email
Mar 4, 2008
10:11 am
7016
"DDD [...] is the basis of SOA" I love it! Can I reuse that phrase in presentations? I mean many SOA approaches are so focused on services so they foreget the ...
Tomas Karlsson
marcellus874
Offline Send Email
Mar 4, 2008
12:38 pm
7017
Hi, I think that SOA is an architectural perspective that "doesn't care" about how the domains are implemented inside the applications. SOA provides a set of...
Alberto Brandolini
ziobrando
Offline Send Email
Mar 4, 2008
1:18 pm
7018
... Randy, Do you directly use a repository from a domain object? If yes, it ends up with circular dependency between them. Repository interface can solve this...
david_torontonian
david_toront...
Offline Send Email
Mar 4, 2008
4:04 pm
7019
David, I think you should ALWAYS use the repository interface. The domain should not have direct references to the repository implementations. ...
Jesse Napier
juice_johnson17
Online Now Send Email
Mar 4, 2008
4:56 pm
7020
Jesse, ... Then for the same reason you should use the entity interface as well. You also need a mechanism that returns a reference to those interfaces. I am...
david_torontonian
david_toront...
Offline Send Email
Mar 4, 2008
5:22 pm
7021
I agree with Zdeslav here. I am the guy who wrote that blog post a looooong time ago and the redundancy in DTOs was frustrating me. However I have discovered...
nichols_mike_s
Offline Send Email
Mar 4, 2008
5:38 pm
7022
... Can you write an object that makes the request and blocks until it gets the response? For example: users = userRepository.loadAll(); loadAll() -> make...
Pat Maddox
burritoooboy
Offline Send Email
Mar 5, 2008
2:39 am
7023
... Why does the repository return a different object instead of just setting the ID on the existing one? Pat...
Pat Maddox
burritoooboy
Offline Send Email
Mar 5, 2008
2:46 am
7024
In the way I see it, SOA and DDD are very much compatible. SOA is more concerned with creating services from parts of functionality and being able to couple...
m.uithol
Offline Send Email
Mar 5, 2008
6:07 am
7025
David, I'm not sure what you mean by always using the entity interface. Concrete entities live in the domain, repository implementations shouldn't be created...
Jesse Napier
juice_johnson17
Online Now Send Email
Mar 5, 2008
8:12 am
7026
That is also possible of course, but for me this now it is more clear that it is really in the database......
David Perfors
dnperfors
Offline Send Email
Mar 5, 2008
8:17 am
7027
Hi Pat, that might be possible although I haven't tested this. The problem I see is that the UI will be locked/frozen until the response is received because...
Christophe Herreman
herrodius
Offline Send Email
Mar 5, 2008
9:16 am
7028
Hi, Thank you all for your replies. So I can make a conclusion that, what the DTOs would look like just depends on the need of transferring data from one layer...
acqy_sunnychen
Offline Send Email
Mar 5, 2008
9:25 am
7029
Yes, I agree with you on the term "Service". Actually Service in SOA means the enterprise service while the Service in DDD stands for domain services. In my...
acqy_sunnychen
Offline Send Email
Mar 5, 2008
9:35 am
7030
Yes of course you can! :) SOA is really a good concept to implement the enterprise-level applications. But as I know in many situation we make the wrong use ...
acqy_sunnychen
Offline Send Email
Mar 5, 2008
9:41 am
7031
Hi, A unit of work pattern, if my understanding is correct, is used to minimize roundtrips to database. If this is the case, let's say I create a new object ...
Arun Nair
arun282002
Offline Send Email
Mar 5, 2008
9:46 am
7032
I would probably check if an object is already in the UOW.NewObjectList before adding it to the UOW.ChangedObjectList, and if it is I would not add it to the...
Ertugrul Uysal
ertugrul_uysal
Offline Send Email
Mar 5, 2008
10:41 am
7033
DTOs address a different problem than domain entities. They are used to exchange information between consumers and providers. So they are designed to expose...
Jim Amsden
jim_amsden
Offline Send Email
Mar 5, 2008
1:21 pm
7034
Or don't put new objects in the ChangedObjectList when they are updated. There should be no need to because the object doesn't yet exist in the database, and...
Jim Amsden
jim_amsden
Offline Send Email
Mar 5, 2008
1:25 pm
Messages 7005 - 7034 of 16036   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