Skip to search.
domaindrivendesign · Domain-Driven Design

Group Information

  • Members: 2907
  • Category: Software
  • Founded: Sep 27, 2002
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
Messages 14609 - 14638 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
14609 bodrin
bodrin0 Offline Send Email
Sep 1, 2009
7:41 am
You then can instead say: "Your purchase request is accepted. Please wait until it is approved." From your requirements it seems that the domain should talk to...
14610 Nuno Lopes
nbplopes Offline Send Email
Sep 1, 2009
12:21 pm
Hi Richard, "But what about the case of guaranteeing that all user names are unique?" IMHO that i rule should be in the "Domain Layer" and not in the...
14611 Richard Wallace
rwallace1979 Offline Send Email
Sep 1, 2009
2:48 pm
... I think you misunderstand. If it was as simple as checking within a single order that's no problem. But we want to check against the history of all...
14612 Richard Wallace
rwallace1979 Offline Send Email
Sep 1, 2009
2:53 pm
... That's exactly what I'm looking for, and you're right it doesn't belong in a separate bounded context. Now that you put it that way, it sounds like it...
14613 mrpmorris Offline Send Email Sep 1, 2009
4:46 pm
That makes sense, thanks. I will allow references to composite parts :-)...
14614 Nuno Lopes
nbplopes Offline Send Email
Sep 1, 2009
5:30 pm
In understand that the rule might be not that simple. It seams that you need to make the concept of OrdersPerHouseHold and HouseHold explicit in the model. ...
14615 Greg Young
gumboismadeo... Offline Send Email
Sep 1, 2009
7:03 pm
It would have to be globally readonly as it could be read in the process of validating other items in the aggregate (think repeatable read isolation level) ......
14616 danh024680 Offline Send Email Sep 1, 2009
7:31 pm
... I think Bodrin's solution is good too, but note that all you're doing here is playing with ACID isolation levels. If you put a shared lock (isolation...
14617 jlembke Offline Send Email Sep 1, 2009
8:37 pm
I was admonsished that many questions are already answered in the archives, but I'm having a hard time identifying the information I need. Feel free to point...
14618 danh024680 Offline Send Email Sep 1, 2009
9:22 pm
... This is similar to another recent thread (http://tech.groups.yahoo.com/group/domaindrivendesign/message/14592); you either enforce a strict enforcement of...
14619 jlembke Offline Send Email Sep 1, 2009
10:03 pm
Are you suggesting that he load the whole history of orders into his domain? Even if he does that, there is still the possibility that another is added that...
14620 jlembke Offline Send Email Sep 1, 2009
10:04 pm
HA! Thanks Dan. And it was right next to me!...
14621 jlembke Offline Send Email Sep 1, 2009
10:09 pm
So the Domain has business rules that need to run, and however you get that to happen (Domain events etc) you don't have a db context to lock until you hand...
14622 danh024680 Offline Send Email Sep 1, 2009
10:46 pm
... That's going to depend on your architecture, but for me, the domain object interactions are in the context of a transaction, so it's a matter of binding...
14623 jlembke Offline Send Email Sep 1, 2009
11:27 pm
Ok, I think I got you on that. Any hints about a pattern I can use to manage this? Is this Unit of Work?...
14624 jlembke Offline Send Email Sep 1, 2009
11:36 pm
I'm using L2S, by the way. The Domain is completely isolated at this point, and currently the DataContext is at the Repository implementation level....
14625 Udi Dahan
udidahan7 Offline Send Email
Sep 2, 2009
4:47 am
... ONE Order can be in Pending status at a time? Have a PendingOrder property on the Account object. When an order wants to change its status to pending, it...
14626 jeremie.chassaing
jeremie.chas... Offline Send Email
Sep 2, 2009
12:13 pm
... That is your problem.. changes should not happen in database. It should always go through the right aggregate root. That's why partitioning aggregate roots...
14627 bodrin
bodrin0 Offline Send Email
Sep 2, 2009
4:03 pm
exactly, I mean two diff solutions: 1) eventually consistent: "Your purchase request is accepted. Please wait until it is approved." 2) strong consistency: use...
14628 jlembke Offline Send Email Sep 2, 2009
4:35 pm
I think there is a misunderstanding here. The business rule we are talking about transcends my current instance of the Aggregate "Order". I agree that changes...
14629 Nuno Lopes
nbplopes Offline Send Email
Sep 2, 2009
4:57 pm
*2) strong consistency: use some kind of locking..* ** "map(Household,Product)->PurchasedCount and update this PurchasedCount always when we update/create...
14630 Nuno Lopes
nbplopes Offline Send Email
Sep 2, 2009
5:00 pm
"As Richard said above, for some rules you may have to check the entire history in order to evaluate a rule. You can't do that within the context of a single...
14631 jlembke Offline Send Email Sep 2, 2009
5:00 pm
Cool, now about the isolation level, is this something that the Unit of Work pattern would help me with? Here is a brief overview of what I have, using L2S and...
14632 danh024680 Offline Send Email Sep 2, 2009
10:03 pm
... Yup, UoW. This is provided out of the box by NO. ... I presume L2S is "Linq to SQL"? I work with Java, but NO is available on .NET too; I understand...
14633 jlembke Offline Send Email Sep 3, 2009
2:26 am
Great! Thanks Dan!...
14634 bodrin
bodrin0 Offline Send Email
Sep 3, 2009
6:44 am
This particular rule can be done in READ_COMMITED also if using versioning on the Account object (optimistic lock). -bodrin...
14635 joseph.ferris@...
joseph.ferri... Offline Send Email
Sep 3, 2009
7:10 am
Greetings! I am fairly new to DDD, and have been enjoying applying what I have learned so far. There is just one thing that I am having a bit of a problem...
14636 pnschofield Offline Send Email Sep 3, 2009
7:11 am
I have some classes in my Domain Layer that seem to belong to the Application Layer. The classes involve recognizing products and vendors in user data against...
14637 carlosalbertomeyerlopes
carlosalbert... Offline Send Email
Sep 3, 2009
7:12 am
Hi there. Is there any software flexible enough to allow us to create domain models like in Evans' book? Thanks....
14638 Ben Ellis
dw_zaith Offline Send Email
Sep 3, 2009
7:12 am
Gojko, How long will the evening be? I'd rather catch the train back the same night than overnight and get one in the morning. Regards, Ben Ellis _____ From:...
Messages 14609 - 14638 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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