Search the web
Sign In
New User? Sign Up
domaindrivendesign · Domain-Driven Design
? 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.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 6511 - 6540 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
6511
I definitely missed the cleverness ;-) This will work fine, as long as you trust the client not to cast anything and access methods on the implementing class!...
Tomas Karlsson
marcellus874
Offline Send Email
Jan 1, 2008
10:09 pm
6512
The domain that I'm modeling requires complete object revision history and recall. This in itself isn't too difficult and many patterns exist for doing this...
woil
Offline Send Email
Jan 4, 2008
6:59 am
6513
Do you actually need to store the data in this way? Would storing original objects + deltas be acceptable? Using this model you would store an original version...
Greg Young
gumboismadeo...
Offline Send Email
Jan 4, 2008
7:14 am
6514
... Prior to replying further I wondered if among your reading was Fowlers temporal patterns: http://martinfowler.com/eaaDev/timeNarrative.html...
Colin Jack
colin.jack
Offline Send Email
Jan 4, 2008
7:49 am
6515
For simpler situations than yours I'd suggest looking at the command pattern. For example you could treat changing the number of required check tasks as a...
billhamaker
Offline Send Email
Jan 4, 2008
2:36 pm
6516
... In regard to versioning, I'm using a database design that mimics the behavior of Subversion. Essentially each table has a revision FK except for the...
Daniel Yokomizo
daniel_yokomiso
Offline Send Email
Jan 4, 2008
3:01 pm
6517
There's yet another way -- forgive me if the following has already been discussed. The Temporal Object pattern: http://martinfowler.com/ap2/timeNarrative.html ...
Jonathan Harley
agilista
Offline Send Email
Jan 4, 2008
3:21 pm
6518
By the way, this book contain good information about handling history tracking at database side ...
Carfield Yim
c8133594
Offline Send Email
Jan 4, 2008
5:25 pm
6519
Thanks to all of you for your help. I hadn't read teh TemporalObject patterns yet, and I think that they might help. I'd already figured out something similar,...
woil
Offline Send Email
Jan 4, 2008
5:47 pm
6520
Hi, I'm currently designing part of a system that needs is responsible for summarizing information on commission earnings and adjustments from sales and...
Aeden Jameson
bevelededges
Offline Send Email
Jan 4, 2008
8:39 pm
6521
You could pull this functionality into a service class that would be implemented with NHibernate or whatever. Your domain objects wouldn't know they were...
Ben Scheirman
ben.scheirman
Offline Send Email
Jan 5, 2008
2:31 am
6522
As Ben briefly alluded to, the trouble with having the domain object talk to a service object is largely the same as having a domain object talk to a...
Chris Beams
cbeams78
Offline Send Email
Jan 5, 2008
3:51 am
6523
Thanks for the folks at domaindrivendesign.org for putting this document out there http://domaindrivendesign.org/practitioner_reports/hu_ying_2007_01.html# ...
esuyer
Offline Send Email
Jan 5, 2008
5:17 am
6524
For my project I plan to implement custom security layer containing Users and User permissions. It makes sense that security should be a part of...
ericpopivker
Offline Send Email
Jan 5, 2008
5:19 am
6525
I would expect that a repository (could be an Account repository) to have a method that would perform the balance calculation directly in the database. The...
Peter Ritchie
ritchiep1
Offline Send Email
Jan 5, 2008
5:19 am
6526
Hi Eric, I don't know your application, domain or requirements, but I am quick to raise an eyebrow when I hear phrases like "for my project I plan to implement...
Chris Beams
cbeams78
Offline Send Email
Jan 5, 2008
6:40 am
6527
First of all, I would like to say that I agree that it is better to use an existing implementation, if it satisfies your requirements and/or saves time. ...
Zdeslav Vojkovic
zdeslav_v
Offline Send Email
Jan 5, 2008
8:08 pm
6528
1. I don't fully understand the first question. All communication from SPOT domain objects to the TBSExport is implemented using .Net event. As the...
pslh93
Online Now Send Email
Jan 6, 2008
5:26 am
6529
Got it, and thanks for the response RE: As the communication is always one-way from SPOT to TBS (the legacy system), we never had a GetOrders method ... Let's...
Edward Suyer
esuyer
Offline Send Email
Jan 6, 2008
3:02 pm
6530
What about entity access control? The role-based security model is a clear fit for a separate security module with AOP, but what about when you want to say...
komptaur
Offline Send Email
Jan 6, 2008
9:26 pm
6531
In this case you don't need to use Windsor. I usually rely on pure .Net security infrastructure using the PrincipalPermissionAttribute For instance, on the...
Hamilton Verissimo
hammett_br
Offline Send Email
Jan 6, 2008
11:10 pm
6532
... I am aware of that, but i have a problem with it: in my domain, security is modeled as user -> roles -> permissions, and actions are authorized per...
Zdeslav Vojkovic
zdeslav_v
Offline Send Email
Jan 6, 2008
11:37 pm
6533
Thank you for all informative replies. I am currently using .NET, so I will try to use .NET security infrastructure or one of the available AOP tools such as...
ericpopivker
Offline Send Email
Jan 7, 2008
12:54 am
6534
You should be able to have a generic security solution that your repositories hide, either through AOP, or elsewhere. Why clutter the Repository interface...
komptaur
Offline Send Email
Jan 7, 2008
4:06 am
6535
... Agreed. Again, I suggest the service layer when security becomes something related to business rules. Also, don't use Aspect#. 'nuff said. -- Cheers, ...
Hamilton Verissimo
hammett_br
Offline Send Email
Jan 7, 2008
2:49 pm
6536
Events can still be a good option for the two-way communication case. Suppose legacy system TBS needs to send a message back to SPOT for a status change (e.g....
huying_ca
Offline Send Email
Jan 7, 2008
3:00 pm
6537
... The problem I see with this is that declarative permissions don't always fit, and the other option is to use imperative calls, which takes it back to...
hadihariri
Offline Send Email
Jan 7, 2008
3:00 pm
6538
Yeah, I know the pain. But sometimes roles are just enough :-) ... -- Cheers, hamilton verissimo hammett@... http://www.castlestronghold.com/...
Hamilton Verissimo
hammett_br
Offline Send Email
Jan 7, 2008
3:08 pm
6539
Yes, but if your service layer defines the security rules, you are either bypassing the Repository as the one access point for your entities or you are passing...
komptaur
Offline Send Email
Jan 7, 2008
6:21 pm
6540
Hi, Does anyone know of any sample implementation of the accounting pattern in DDD ?...
David Winslow
david@...
Send Email
Jan 9, 2008
2:24 am
Messages 6511 - 6540 of 7814   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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