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 your group to be featured on the Yahoo! Groups website? 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 4679 - 4710 of 16079   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
4679
Sorry for coming to this so late but I've been considering this issue and find this discussion very interesting. I'm not sure if I see the aggregate pattern is...
colin.jack
Offline Send Email
Jan 1, 2007
9:30 pm
4680
Just read the link, very interesting...particularly the bit where Eric says: "For example, you could invoke the root's validation method(s) each time you...
colin.jack
Offline Send Email
Jan 1, 2007
10:33 pm
4681
That makes sense to me. So, the application layer would leverage the repositories to get whatever would be necessary to create the aggregate, pass it to the...
baraap
Offline Send Email
Jan 2, 2007
3:56 am
4682
Hi, I agree fully since strongly typed code (with objects instead of just primary keys in argument lists) has one advantage; it will fail when you compile and...
Tomas Karlsson
marcellus874
Offline Send Email
Jan 2, 2007
7:26 am
4683
Hello, Yes, DDD puts the first M in MMVC <http://c2.com/cgi/wiki?ModelModelViewController> . But even in the Jacobsonian interpretation (see What's a...
Randy Stafford
randalparker...
Offline Send Email
Jan 2, 2007
4:30 pm
4684
Domain experts know the domain – from a business perspective. When doing an implementation of a domain, you have to master concepts like “entity or value...
Tomas Karlsson
marcellus874
Offline Send Email
Jan 2, 2007
7:43 pm
4685
Since the person writing the domain model must know the domain – that person must have direct access to and excellent communication with the domain experts....
Tomas Karlsson
marcellus874
Offline Send Email
Jan 2, 2007
7:55 pm
4686
DDD has been an incredible force for good, truth and beauty in my experience. However, I have a problem with the handling of aggregates. The way they are...
rossentj
Offline Send Email
Jan 2, 2007
8:55 pm
4687
Hi DDDers, I am also planning to use DDD and the Repository pattern in my design. I have been googling and reading a lot of material on Domain Driven Design. I...
Shepard Towindo
sqlcertified
Offline Send Email
Jan 2, 2007
8:55 pm
4688
Thank for that Colin. No suppose I wanted to add stock control to the application. The HTTP post now contains a product id and quantity. This id will be used...
benshort29
Offline Send Email
Jan 2, 2007
11:22 pm
4689
Hi Tomas, Thanks for your thoughts. I'm glad we think alike on this subject. Yes, it will be a challenge to find the best partitioning boundaries (it always...
Pascal Lindelauf
plind69
Offline Send Email
Jan 3, 2007
3:16 pm
4690
I may be getting the wrong end of the stick here but I think what you're saying is that the process will be: 1) User requests that the product be added to her...
colin.jack
Offline Send Email
Jan 3, 2007
9:27 pm
4691
I do consider the aggregate pattern useful in the Account/Portfolio case, in fact we have some rules that must always be enforced for the Account and all its...
colin.jack
Offline Send Email
Jan 3, 2007
9:48 pm
4692
Okay, so I should have brought in my own example instead of using one I didn't fully understand. Forget Account/Portfolio (in this context, that is). Our...
rossentj
Offline Send Email
Jan 3, 2007
11:39 pm
4693
How do you make Hibernate use a factory method to create a complex aggregate out of persistence? I've not noticed any information about that in the Hibernate...
Rick Mugridge
rickmugridge
Offline Send Email
Jan 4, 2007
2:10 am
4694
From what I understand of the example, I would not model this as one aggregate. Batch and Donor would both be aggregates of their own. Maybe even Donations...
Pascal Lindelauf
plind69
Offline Send Email
Jan 4, 2007
9:26 am
4695
I have read a lot of examples that uses a repository interface and impelmented as CRUD data access objects. In your experiences how have you managed to...
Shepard Towindo
sqlcertified
Offline Send Email
Jan 4, 2007
3:06 pm
4696
I think the main difference is that a repository is a first-class member of the domain model and has characteristics beyond those of a simple DAO like allowing...
dgalehouse1
Offline Send Email
Jan 4, 2007
3:49 pm
4698
I would agree. I consider the DAO as an implementation detail that's not part of the public face of the domain model. In one project, I had a repository...
Jeff Lowe
jefflowe7
Offline Send Email
Jan 4, 2007
4:46 pm
4699
I think it really depends on how you are handling the persistence. We are using NHibernate and use something very similar to Ayende's generic repository. This...
drfatbooty
Offline Send Email
Jan 4, 2007
5:00 pm
4700
Thanks all for your replies it helps validate my design thoughts. Another issue I battle with is the anemic domain model which I tend to use. I use it because...
Shepard Towindo
sqlcertified
Offline Send Email
Jan 4, 2007
5:11 pm
4701
... the repository. When you say "UI", what specifically do you mean? A specific view component (e.g. jsp page), a web application that uses the domain ...
Jeff Lowe
jefflowe7
Offline Send Email
Jan 4, 2007
5:46 pm
4702
Yeah, my fault for not explaining things better in my original post. However I don't see that there is necessarily a big problem with using aggregates in your...
colin.jack
Offline Send Email
Jan 4, 2007
6:01 pm
4703
I thought they could be private in NHibernate, in fact looking at the samples I have locally I am using private no-arg constructors for NHibernate so unless...
colin.jack
Offline Send Email
Jan 4, 2007
6:14 pm
4704
As far as design decisions go I'd far rather have a protected constructor rather than have to use concrete factories or creation methods in situations where...
colin.jack
Offline Send Email
Jan 4, 2007
6:31 pm
4705
Pascal - I think we're saying the same thing - at least compatible things. I do want to add that the navigations involved are not just Donor->Donation and...
rossentj
Offline Send Email
Jan 4, 2007
6:54 pm
4706
Definitely, though I think its worth trying to avoid having your domain classes depend on your repositories as far as possible. ... a ... creating ... an...
colin.jack
Offline Send Email
Jan 4, 2007
6:54 pm
4707
... domain classes depend on your repositories as far as possible. What is gained by avoiding that? If your entity (EntityA) contains non-trivial logic that...
Jeff Lowe
jefflowe7
Offline Send Email
Jan 4, 2007
7:11 pm
4708
Jeff, I am using the term UI loosely, I am implementing the MVP pattern for the presentation layer so in this case it will be the Presenter classes that I mean...
Shepard Towindo
sqlcertified
Offline Send Email
Jan 4, 2007
8:46 pm
4710
Sure but the key thing for me would be to look at what relationships should be associatinons in the domain and what should be available via repository queries...
colin.jack
Offline Send Email
Jan 4, 2007
9:37 pm
Messages 4679 - 4710 of 16079   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