Web programming has taken us pretty far away from "client server" apps, but with the rich internet application technologies gaining popularity (Flex, AJAX,...
I'm just starting to apply some techniques that stem from DDD. I believe that Value Objects can help implementing a more robust model. But I feel unsure about...
Probably I didn't make it clear, yes "all" of my comments are cautions about "implementation choices", but I guess they are related to DDD (I can't think of...
Hi Martin, Hibernate will access private setters for creating an object. But JSF does not (and it forces the use of Integer instead of int, etc, which can...
Hi David, It depends on where the risks are, and what kind of feedback is important early. Unless something else is pressing, I like to start on the domain...
Fatter Client, Fat Client, Thin Client I would add another architecture to that list, the one I use most, you can call it Smart Client/App Server if you like. ...
We are using .NET and I have used Fitnesse before with mixed success. We started writing user stories as a response to the "missing link" between business and...
Rick, thanks for taking time for this detailed answer! I was already thinking of factory methods that would copy a value object and modify one or multiple...
Good day to all! I'm creating a Windows Forms application which has a domain layer that is not really very complex. I retrieve and update an Excel file which...
Hey Udi, That was my point exactly.. You can use DDD in SOA, Smart Client, Web Applications, etc. It's not an implementation, it's a style of design and ...
Those don't seem to be "naturally unique" values. It would seem to me that you could have two John Smith's or related employees who both have the same address....
I have a rich client application .. which reads a graph of objects from a server and the GUI lets the users edit the graph ( via the gui ofcourse).. For...
If I recall correctly, we used "dirty" flags which is part of what the UoW does. Then you do the inevitable.. For each object in the graph, check if it's...
Yes, exactly, for example search this <http://www.ipass.net/vmalik/gemstone.html> 13-year-old GemStone/Smalltalk FAQ for "markDirty". I also discussed that...
Hi David, ... Without customer involvement at all, it's simpler to use XUnit, with good IDE support and especially refactoring. I'm currently working on a ...
Hi, This is a technical question but relates closely to the DD style. A while ago there was a discussion about greedy aggregates and the approach used by some...
My opinion is that the domain classes should always [or what is practical] map to the business problem/domain you are working with. Therefore, there is not...
Hi Matt, Thanks for the response: I am comfortable with the approach I have taken as it maps the business and I'm not really trying to go over the whole greedy...
One approach I've used is to 'type' my validation. When I first struggled with validation in the domain I felt that the most apt method for failing on...
... aggregate root. ... I've always struggled with the Aggregate pattern a bit, because my reading of the DDD book suggests that you *can't* nest aggregates...
I'm using Hibernate and Spring and immutability has been a headache for me for some time too. The main problem for me was that I didn't want my client classes ...
I use Hibernate not NHibernate, but I guess the idea is basically the same. The way I do this is by splitting my Hibernate Entities (tables) into several...
For a web application which has the following layers 1) Web Layer 2) Service Layer 3) Domain Layer 4) Repository Would it be Web layer -->Service --> Domain ...
I think you'll find from all the discussion here that there is no right answer, just different opinions depending on what people prefer. My structure...
Is anyone out there using a language like Eiffel or spec# (as an exercise I assume nobody has a production spec# system) in conjunction with DDD? What are your...
Hey, my thought is to use MVP (or MVC) Web -> Presentation/Controller -> Service Presentation -> Domain Service -> Repository -> Domain Service -> Domain All...
Thanks to all responses! =) But what if I want to validate a collection of Customer, aside from validation in each Customer? That each customer should have a...
It seems like you are still stuck wth a majo problem of using exceptions... You can only return 1 error at a time. As an example lets say that I failed putting...