This just came up in a discussion and I quickly realized that although I handle this in my own way nut I have heard very little in official position on the...
Hi guys, Anyone have an opinion on how much information needs to exist in the UI to make decisions without a) putting *real* business logic in the UI layer and...
Hey Bil, Arguably, a speadsheet is a special case of application since it's raison d'etre is to massage related rows of data visually.. On the other hand, I...
Jonathan, Good point and MVP would certainly be a pattern to follow here. I'm struggling though with something like a model that holds 10,000 objects vs. doing...
... Assuming that it wasn't a realtime type of system, I'd suggest that might be a great use of a domain side (or even UI side) cache. But you do bring up a...
Hi Bil, BS> Imagine a spreadsheet type app where users would enter something and there BS> would be a ripple effect that affects multiple rows of information...
Hello all! I've ordered the above mentioned book but it will take from 6 to 8 weeks to ship (I live in Brazil). In the meantime, I was wondering if Nilsson...
CALL FOR PARTICIPATION WIKISYM 2006: THE 2006 INTERNATIONAL SYMPOSIUM ON WIKIS August 21-23, 2006, Odense, Denmark CO-LOCATED WITH ACM HYPERTEXT 2006 See...
If the client is expected to check the data it is redundant to recheck it at object construction. Mind you that redundancy isn't always bad, and a purist might...
How about if only giving fetching operation on Repository to Domain object?.. That's mean we need to make sure Add,Update and Remove are restrict to use from...
Follow DDD book, I understand that specification and repository is part of domain model but not involve in any business logic of the domain, then in this group...
Indeed, a domain constructor rechecking what the client tier has already checked is certainly redundant (which, as Rafael carefully points out, is an...
Hi, In my opinion, the domain should always check data! The reason is simple: client depends on domain. This mean domain should protect itself from any client...
Hi Carlos, ... The book doesn't have a CD, and I didn't notice any URL for the source code. But the book's website (which doesn't currently have any real ...
Which the patterns, to represent components that not make part of domain model? Example: In HTML form, we have a combobox element search with two options,...
Hi Bruno, I consider populating the combo box with a list of values the more interesting part of the problem (more so than retrieving the value from an HTML...
Than, a combobox with name "filterSearch" and two values: name, address, is a part of User class? Parting from principle, that a User, human from real word,...
name and address are properties of the user - they are part of your domain model of user. Comboboxes definitely are not. They live in the presentation tier of...
This begs more general questions (probably already addressed)for UI and application layer interaction. * Should the application layer accept and return...
Folks, What do you think about Servlets dealing with Entities. It could occur in two ways: 1. Services returning searched data 2. Servlets creating Entities to...
I'm relatively new to "real" object-oriented design/development (i.e. patterns/refactoring etc.) although I've been working with OOP languages for quite some...
I have heard a lot of talk in this forum about keeping security out of the domain model. I have been trying to do that on my latest projects, but on a new...
My quick take on this: Because the maintenance of user roles is an important part of the end-user functionality of the application, then they're definitely a...
A problem I often seem to come across when trying to apply DDD principles is that of using the Aggregate pattern where the domain contains deeply nested ...
We have a very similar situation on the project that I am working on. I struggled with this for a while. The direction we decided to go was to create aggregate...
I had the same problem with a pet project I put together. Here's what the hierarchy look like: Category Forum Topic Post It's not as deep as your example but...
Thanks Tony I still struggle with splitting it up this way. Lets say I create a couple of aggregates from the original hierarchy (with the same pattern of ...