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.

Messages

  Messages Help
Advanced
Messages 5587 - 5616 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
5587
Dear All I'm Ichsan, a new member here and this is my first post. Nice to meet you All. I was surprised that there is theory like DDD. It seems cool to tackle...
Muhammad Ichsan
ahmed.sancho
Offline Send Email
Jul 3, 2007
2:30 pm
5588
1. <<> If I want to create new Employee . . .>We have discussed in the past trusting data out of the database (if this applies in your domain) and using...
Joe A. Reddy
joethebigshmoe
Offline Send Email
Jul 3, 2007
7:01 pm
5589
Dear All, I got problems about how Repository should be in DDD: - I put an Image in the Employee, which is I think best to be managed by ImageRepository since...
Muhammad Ichsan
ahmed.sancho
Offline Send Email
Jul 4, 2007
10:44 am
5590
I have used multiple repositories. I split off a repository whenever the complexity gets too much for one repository or the repository starts managing two...
ARKBAN
Offline Send Email
Jul 4, 2007
12:50 pm
5591
I think if Image is inside Employee aggregate I would have only one repository, Employee repository, which would save whole Employee aggregate i.e. Employee...
urbanhelsinki
Offline Send Email
Jul 4, 2007
1:44 pm
5592
... Ok, let's change Employee into Customer to show how important ImageRepository is. Each Customer has his own photo, and his House (which he orders) has its...
Muhammad Ichsan
ahmed.sancho
Offline Send Email
Jul 5, 2007
4:07 am
5593
Hi, What do you think about idea of public class members in Java. I don't know if this has been discussed, but I would really like to have properties -feature...
urbanhelsinki
Offline Send Email
Jul 5, 2007
4:24 am
5594
so: -If customer is deleted then his image will be deleted. -If customer sells his house, association between house and customer is removed but house still...
urbanhelsinki
Offline Send Email
Jul 5, 2007
4:46 am
5595
Wow you touched on a lot of subjects at once. I think most practical OO developers would agree that although it is ideal to hide all members we realize they...
Joe A. Reddy
joethebigshmoe
Offline Send Email
Jul 5, 2007
2:28 pm
5596
Spring user forums had same kind of idea with that UserView solution. http://forum.springframework.org/showthread.php?t=23948&highlight=OSIV They call it e.g....
urbanhelsinki
Offline Send Email
Jul 5, 2007
3:05 pm
5597
Hey guys, I have been exploring the idea of repositories and want to see what others are doing; I much prefer the idea of creating a single abstract data...
glennmorton123
Offline Send Email
Jul 5, 2007
3:32 pm
5598
... How important is the concept of image to your domain? Is it part of the core functionality or biz model for the application? Or is it just an attribute of...
Rob
robm916
Offline Send Email
Jul 5, 2007
3:32 pm
5599
Domain-Driven DesignHi, I've been lurking here for about 9 months and finally got around to reading Eric's book. In Chapter 7 he discusses the Cargo handling...
Paolo F. Cantoni
paolofcantoni
Offline Send Email
Jul 5, 2007
3:32 pm
5600
<< How are you guys managing these types of problems?>> What problems exactly? Are you saying you wrote a slick Dal that can some day work with any kind of...
Joe A. Reddy
joethebigshmoe
Offline Send Email
Jul 5, 2007
3:44 pm
5601
Have you digested Allan Holub's article on getters/setters [ http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html ] on why getters and setters...
hal arnold
halarnold2000
Offline Send Email
Jul 5, 2007
3:54 pm
5602
Paolo, I don't think it's pedantry. It's a reasonable question. But the definition of value object doesn't rule out, as in the example, different entities...
Keith Klein
baronmucki
Offline Send Email
Jul 5, 2007
4:10 pm
5603
Paolo, I'm curious as to your assertion that "VO's can't be shared.."? They are a reference-able object like any other. The only difference between a VO and an...
hal arnold
halarnold2000
Offline Send Email
Jul 5, 2007
6:18 pm
5604
Yes, I've found that I often want to use the Flyweight pattern with certain Value Objects. Randy ________________________________ From:...
randy stafford
randalparker...
Offline Send Email
Jul 5, 2007
10:47 pm
5605
canonicalizing a value object is rarely if ever hamful. The fact that it is immutable makes it so all value objects should be canonicalized if posible but it...
Greg Young
gumboismadeo...
Offline Send Email
Jul 5, 2007
11:31 pm
5606
To be clear it can hurt if you have no duplication of objects but this is generally rare. I personally like Java and C#s implementation of this with...
Greg Young
gumboismadeo...
Offline Send Email
Jul 5, 2007
11:39 pm
5607
... I think the attribute of the employee happens to be an image in my case. Let me give the concrete class public class Customer { private String name; ...
Muhammad Ichsan
ahmed.sancho
Offline Send Email
Jul 6, 2007
4:08 am
5608
... Value Object should be immutable, you can't change its attribute unless you create new object. If you have two identical VALUE OBJECT, why don't you pick...
Muhammad Ichsan
ahmed.sancho
Offline Send Email
Jul 6, 2007
4:26 am
5609
I had not seen that. Nice article, thanks....
urbanhelsinki
Offline Send Email
Jul 6, 2007
7:28 am
5610
... I would consider Image as Value object ... In my opinion packages should be designed in terms of concepts rather than techical details. I would not create...
urbanhelsinki
Offline Send Email
Jul 6, 2007
7:53 am
5611
Thanks to everyone for setting me straight... Can I rephrase it as: Value Objects _can_ be shared (because they are immutable), Entities _must_ be shared...
Paolo F. Cantoni
paolofcantoni
Offline Send Email
Jul 8, 2007
12:31 pm
5612
Paolo, Not to put too fine a point to it, but valueObjects can be mutable, but if they are shared they must be immutable. /h ... ...
hal arnold
halarnold2000
Offline Send Email
Jul 8, 2007
4:21 pm
5613
I am struggling with a simple example of attempting to implement the DDD approach and I was hoping I could get some feedback from this group. This example is...
kevinscottwarner
kevinscottwa...
Offline Send Email
Jul 8, 2007
4:44 pm
5614
That sounds about right. Since you are trying to be precise with the language, I wouldn't say the value objects are "identical", I would say they are "equal"....
Eric Evans
ericevans0
Offline Send Email
Jul 8, 2007
4:56 pm
5615
Domain-Driven DesignThanks for that Eric, I _am_ trying to be precise and I normally make that exact distinction. But I've been applying slate floor varnish...
Paolo F. Cantoni
paolofcantoni
Offline Send Email
Jul 9, 2007
9:47 am
5616
I just use an inversion of control container to return the proper implementation. ... From: domaindrivendesign@yahoogroups.com ...
Jesse Napier
juice_johnson17
Online Now Send Email
Jul 9, 2007
7:25 pm
Messages 5587 - 5616 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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