I am implementing an application using DDD principles. I am using Hibernate for persistence. I would like to keep the domain model independent of my...
Could you not just give the UI coders byte level access to the database server disk filing system? That might give them more flexibility ... ... Could you not...
I agree with you. Most of what you've said reflects my thoughts the past few days too. I think the critical thing to get across to the domain experts is if...
What are some real companies or case studies that use DDD? Anyone know? I would love to see a list of or read about successful utilizations of DDD to any...
Those scenarios are important. They anchor everyone, and we need that anchor when working on abstract models, or we'll just float off into ... The difference...
I'm quite new to DDD myself, but in my perspective, I think I would use observer pattern for this scenario. Write a TargetPriceNotifier, and let each Security...
Scott, your post PERFECTLY represents everything I feel all this time. In every projects I have worked on, unfortunately no one put enough appreciation to...
This sounds like a very dysfunctional organization ... I would doubt that they would ever get themselves out of such a state no matter what you do unless they...
Interesting to blame me for going into Feature Driven Development ;-) I am involved in the start of a new project where DDD should be combinded with Scrum - or...
I think that the problem you’re having with your securities example is that you’re trying to force-fit historical analysis into a Domain Model – no, DDD ...
I want to check at 'save'. This means the object can be in an inconsistent state while the user is working, but the user cannot save if business rules are...
... Don't make 'closed' a checkbox on the form. Instead provide buttons for closing: - save: stores changes - save & close: stores changes and then closes -...
You are right! I am looking for a very tight connection between the UI and the Domain objects. But to me that is the idea with the RAD tools. Of course, you...
Hi Udi, thanks for your response. I may have not explained the example well. The external algorithm is not doing any history analysis on TargetPrice. It is...
Yes, that's exactly what I was trying to get at: is it a good practice to allow entities to access DAO interfaces? (I understand the part about dependency...
... I would like to give a warm recommendation to try BDD-style scenarios when you do this. Given <context> When <something happens> Then <expected outcome> Im...
... Basically, it because it's not something that is special to just a product. It's a cross-cutting concern. Anytime you see something that appears in many...
Hi Mel, When building systems like these (heavily event-driven), I always view the events as core part of the domain. I don't view it as a cross- cutting...
Hello, I'm trying to model a fairly simple situation where I've got an Item that can be categorized in a number of ways, one being Style. More specifically,...
Why not put the events into a pipeline? pipelines are great because you can add a filter which would handle a cross cutting concern such as this. Cheers, Greg ...
I'm not quite sure what you're getting at, since some of the terminology seems a bit strange. However, here's what's recommended in a fairly large number of...
Ø When I started out with DDD, my thought was to keep persistence concerns completely out of the domain model. Good. Ø However, in practice, it seems...
Many thanks for inspiration! So the conclusion seems to be that we still have to think when we build the user interfaces! Some parts of the domain object are...
Can I reuse the statement "We are looking for a model that..."? This is the one-liner we are looking for in this discussion! The customer should provide the...
... You're welcome. ... For the most flexibility I see every operation in the same way: - start a transaction - query the database to get the object to work...
I think you are missing the *why* from your stories Niclas which is generally a key point in BDD.. I as a user I want to enter customers to the system so that...
No, I've been doing enough BDD (including co-presenting it with Dan at JAOO a couple of years ago) to not miss it, but I deliberately left them out in this...
Sorry I wasn't saying that you don't know BDD (reading back, I may have come across that way); I included the link for others to have more information. My...
Thanks John. The terminology is certainly confusing. This is my understanding based on Eric and Fowler's work: Eric defines layering as follows (page 68 of...
Udi, thanks for being persistent about keeping persistence out of the domain model :-). It feels more natural to me anyway. Your post triggered a lot of...