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...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 7934 - 7963 of 16018   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7934
Thisis getting architecturally smelly. The way I see the logical layering is as follows: * At the very bottom there's your resources, like the database,...
Pascal Lindelauf
plind69
Offline Send Email
Aug 1, 2008
7:17 am
7935
Of course yes, so something like this would be more ideal:~ ' Application Layer Public Shared Function getCustomer(ByVal CustomerID As Long) As Model.Customer ...
elbandit33
Offline Send Email
Aug 1, 2008
8:04 am
7936
There you go. That's indeed a far better separation of concerns. One last thing: I would expect the getCustomer on the application layer to actually grab the...
Pascal Lindelauf
plind69
Offline Send Email
Aug 1, 2008
9:05 am
7937
... Hang on a second. What I meant was you have an infrastructure service that is responsible for caching, say, DataCacheService, and the app layer is...
moffdub
Offline Send Email
Aug 1, 2008
11:10 am
7938
Yes all my CustomerService in the Domain layer is doing is simply calling the Customer Repository FindByID method. So I could change the Application Layer...
elbandit33
Offline Send Email
Aug 1, 2008
2:09 pm
7939
Indeed, that's it! Pascal. ... store...
Pascal Lindelauf
plind69
Offline Send Email
Aug 1, 2008
2:20 pm
7940
Agreed. That last sentence is indeed the essence. Pascal. ... and ... completely ... the...
Pascal Lindelauf
plind69
Offline Send Email
Aug 1, 2008
2:24 pm
7941
Thanks for your help! Scott On Fri Aug 1 15:20 , 'Pascal Lindelauf' <pascal@...> sent: Indeed, that's it! Pascal. ... store...
scott@...
elbandit33
Offline Send Email
Aug 1, 2008
2:25 pm
7942
Hello, do you allow that aggregates / entities get temporarily in an invalid state? If you have an entity which has several public methods that modify the ...
matthias.kampen
Offline Send Email
Aug 1, 2008
2:42 pm
7943
I strive to never allow items to enter an invalid state. The reason for this is that as soon as an object can be in an invalid state, anytime you pass the...
Greg Young
gumboismadeo...
Offline Send Email
Aug 1, 2008
2:47 pm
7944
Hello, I started to design my Customer entity as below so that it would Lazy Load the customers list of Addresses when required: Public Property AddressBook()...
elbandit33
Offline Send Email
Aug 1, 2008
4:44 pm
7945
Thanks zampano3000, I think this is an important point. So if these stateless, domain services are part of the domain, then it seems reasonble to allow the...
Julian
anon754655
Offline Send Email
Aug 1, 2008
5:02 pm
7946
Hi Eric et 3D Gurus, We are attempting J to use Domain Driven Design for our banking application, my module mainly pertains to loans. I would be extremely...
ashley.fernandes@...
callingashley
Offline Send Email
Aug 1, 2008
5:03 pm
7947
Personally I would do something like use a prefetch plan that your code could give to the repository that would specify how you wanted the object filled in. ...
Greg Young
gumboismadeo...
Offline Send Email
Aug 1, 2008
5:03 pm
7948
Hi Eric et 3D Gurus, We are attempting ļ to use Domain Driven Design for our banking application, my module mainly pertains to loans. I would be extremely...
callingashley
Offline Send Email
Aug 1, 2008
5:03 pm
7949
Thanks zampano3000, I think this is an important point. So if these stateless, domain services are part of the domain, then it seems reasonble to allow the...
Julian
anon754655
Offline Send Email
Aug 1, 2008
5:03 pm
7950
Are you using detached objects?...
matthias.kampen
Offline Send Email
Aug 1, 2008
5:03 pm
7951
Hi all. This is my first post, so please be lenient;) I have red somewhere that there are catalogs of domain models - something like catalogs of design...
slaweksobotka
Offline Send Email
Aug 1, 2008
5:03 pm
7952
... "the state of an application task in progress" - just a temporary storage area that allows the user to incrementally build up the contents of their order...
Michael Levy
ma_levy45215
Offline Send Email
Aug 1, 2008
5:04 pm
7953
Do you also apply this rule when it comes to defining constructors Greg? Having only recently started applying TDD and DDD, I've struggled with tension between...
Paul Batum
paul.batum
Offline Send Email
Aug 1, 2008
5:04 pm
7954
This may be obvious, but... If repositories and domain objects are in the same .NET assembly, and you want to prevent non-domain classes from modifying the ID,...
Julian
anon754655
Offline Send Email
Aug 1, 2008
5:04 pm
7955
... objects that ... been able ... Could you store some valid customers in your database and just load them in your tests? Another approach would be to...
matthias.kampen
Offline Send Email
Aug 1, 2008
5:48 pm
7956
I am not sure what you mean by a detached object? ... Lazy ... on this ... loading ... my ... CustomerID As ... (CustomerID) ... solutions...
Scott Millett
elbandit33
Offline Send Email
Aug 1, 2008
5:49 pm
7957
Paul ... I use fluent interfaces to ease the pain of testing. In particular I use the FluentBuilder pattern. Here is an example for you (it is being used for...
Greg Young
gumboismadeo...
Offline Send Email
Aug 1, 2008
5:58 pm
7958
... An object which is unable to reach the database (example: an object which is transfered to the client). I would go for the first approach if my objects can...
matthias.kampen
Offline Send Email
Aug 1, 2008
5:58 pm
7959
I don't know if I would call them "Domain Models" but you may want to google Archetype Patterns which can be extremely useful for you. Cheers, Greg ... -- It...
Greg Young
gumboismadeo...
Offline Send Email
Aug 1, 2008
6:36 pm
7960
I was going to save the objects like so: Dim aCustomer As Model.Customer aCustomer = Model.CustomerService.getCustomer(CustomerID) ...
Scott Millett
elbandit33
Offline Send Email
Aug 1, 2008
6:47 pm
7961
You might want to check out Martin Fowler's book on Analysis Patterns, which presents several models of common business scenarios....
James
jrnail23
Offline Send Email
Aug 1, 2008
7:03 pm
7962
... Besides the Analysis Patterns that was already mentioned I also have the following on my bookshelf: - Object Models Strategies, Patterns and Applications ...
Johan Stuyts
objectthinker
Offline Send Email
Aug 1, 2008
7:36 pm
7963
On Fri, Aug 1, 2008 at 2:48 PM, matthias.kampen ... A ... -- Mario...
Mario Roman
marioroman
Offline Send Email
Aug 2, 2008
3:42 pm
Messages 7934 - 7963 of 16018   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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