Sachin, I understand that part. The question was: Is it assumed that a "Rich Client" is used? Otherwise, how can one "deploy" components to a client. Regards, ...
I would consider a browser client that gets a raft of javascript loaded, a deployment. It is the way browser DHTML rich client deployments are done. I thought...
It depends on your opinion. I say "yes." Udi says that, for example, size limits are database only issues. I don't necessarily agree. Sometimes they are,...
... You generally don't need inventory to be 100% consistent -- there's always some lossage and lag coming back from the warehouse. You also have concurrency...
If you use snapshots, you'll have database store anyway, you no longer have one-source-of-truth, and you have the risk of inconsistent data regardless. ...
I've asked this exact same problem in this list before, about carrying out set-based domain logic in cqrs (aint in a position to find you the link, sorry). I...
I can only think of very few specific types of applications where you *don't* need to do complex queries on the write-side... that is append-only applications,...
Btw the second example about supervisor approval, Im not talking about client-side presentation thing, but more about to on the write-side to determine the...
Snapshots are only a heuristic your source of truth is the events. As to when to snapshot I would say it varies on the usage patterns of the aggregate and your...
18852
Martin Nilsson
mffmartin@...
Jul 3, 2010 6:23 pm
I'm trying to learn CQRS and have a question. Because of my commands do not return any values and are processed asynchronous I don't know how to show an order...
18853
Matthias Kampen
mkmailinglistaccount@...
Jul 3, 2010 8:31 pm
Unique ID Generation Service?...
18854
Martin Nilsson
mffmartin@...
Jul 3, 2010 8:34 pm
That's how I do it today but I was hoping to find something better that is not that dependent on the server to be up and running all the time. On Sat, Jul 3,...
Why do users need a human readable ID? To help them find their orders, right? Or to tell someone else about an order. For the former, give them a screen with...
18856
Martin Nilsson
mffmartin@...
Jul 4, 2010 8:52 am
The order number is for the customer and not the sales person. The sales person prints the order confirmation and the customer gets the printout. So the...
Size, not null and the like validation are not domain validation. As Udi recapped in latest DDD exchange. These can be at client tier for more UX feedback and...
About the 2nd question you point out, I would say that 100+ views can be drastically speeded-up applying code-generation techniques, but ultimately the cost of...
Udi, what about if these calculations are based on configured values. For the sake of the example suppose a TaxCalulationForPreferedCustomer . The percentage...
I don't think you can say that conclusively. A not-null check is not domain business logic, but if something sets a null in a given association or attribute...
Ok, I'll make up an fake example here to describe my "problem" Order: with attributes Orderdate and ShipDate. One of the most important aspects of the domain...
What if you give each client a unique ID then allow each client to track a local order number sequence, and then combine the local number with the client ID to...
Hi, I'm not an expert in the field though I would think that "no single day can contain > 5 orders" rule is an invariant which belongs to an aggregate root ...
Thanks, something like "DeliverySchedule" really makes sense to me. It introduces an AR which allows me/it to lazy load the collection. However in my case the...
+1 to Vaughn. Whether a certain attribute is required, optional or not applicable may very well be governed by complex business rules which may even be...
1. Right now I've put events into their own assembly and have taken a dependency on this assembly in the domain assembly. In the event assembly, I've taken...
Hi all, In Udi's post about AR, he mentioned the following: "Validation of string lengths, data ranges, etc is not domain logic and is best handled elsewhere...
The only reason I see here is if the customer is going to be reading this number over the phone to customer service reps (which is why you need it to be...
... values) ? Well, how often does this data change? Tax usually changes only occasionally per region. -- Udi Dahan From: domaindrivendesign@yahoogroups.com ...