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

Messages

  Messages Help
Advanced
Messages 7934 - 7963 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7934 Pascal Lindelauf
plind69 Offline Send Email
Aug 1, 2008
7:17 am
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,...
7935 elbandit33 Offline Send Email Aug 1, 2008
8:04 am
Of course yes, so something like this would be more ideal:~ ' Application Layer Public Shared Function getCustomer(ByVal CustomerID As Long) As Model.Customer ...
7936 Pascal Lindelauf
plind69 Offline Send Email
Aug 1, 2008
9:05 am
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...
7937 moffdub Offline Send Email Aug 1, 2008
11:10 am
... 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...
7938 elbandit33 Offline Send Email Aug 1, 2008
2:09 pm
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...
7939 Pascal Lindelauf
plind69 Offline Send Email
Aug 1, 2008
2:20 pm
Indeed, that's it! Pascal. ... store...
7940 Pascal Lindelauf
plind69 Offline Send Email
Aug 1, 2008
2:24 pm
Agreed. That last sentence is indeed the essence. Pascal. ... and ... completely ... the...
7941 scott@...
elbandit33 Offline Send Email
Aug 1, 2008
2:25 pm
Thanks for your help! Scott On Fri Aug 1 15:20 , 'Pascal Lindelauf' <pascal@...> sent: Indeed, that's it! Pascal. ... store...
7942 matthias.kampen Offline Send Email Aug 1, 2008
2:42 pm
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 ...
7943 Greg Young
gumboismadeo... Offline Send Email
Aug 1, 2008
2:47 pm
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...
7944 elbandit33 Offline Send Email Aug 1, 2008
4:44 pm
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()...
7945 Julian
anon754655 Offline Send Email
Aug 1, 2008
5:02 pm
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...
7946 ashley.fernandes@...
callingashley Offline Send Email
Aug 1, 2008
5:03 pm
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...
7947 Greg Young
gumboismadeo... Offline Send Email
Aug 1, 2008
5:03 pm
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. ...
7948 callingashley Offline Send Email Aug 1, 2008
5:03 pm
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...
7949 Julian
anon754655 Offline Send Email
Aug 1, 2008
5:03 pm
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...
7950 matthias.kampen Offline Send Email Aug 1, 2008
5:03 pm
Are you using detached objects?...
7951 slaweksobotka Offline Send Email Aug 1, 2008
5:03 pm
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...
7952 Michael Levy
ma_levy45215 Offline Send Email
Aug 1, 2008
5:04 pm
... "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...
7953 Paul Batum
paul.batum Offline Send Email
Aug 1, 2008
5:04 pm
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...
7954 Julian
anon754655 Offline Send Email
Aug 1, 2008
5:04 pm
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,...
7955 matthias.kampen Offline Send Email Aug 1, 2008
5:48 pm
... 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...
7956 Scott Millett
elbandit33 Offline Send Email
Aug 1, 2008
5:49 pm
I am not sure what you mean by a detached object? ... Lazy ... on this ... loading ... my ... CustomerID As ... (CustomerID) ... solutions...
7957 Greg Young
gumboismadeo... Offline Send Email
Aug 1, 2008
5:58 pm
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...
7958 matthias.kampen Offline Send Email Aug 1, 2008
5:58 pm
... 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...
7959 Greg Young
gumboismadeo... Offline Send Email
Aug 1, 2008
6:36 pm
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...
7960 Scott Millett
elbandit33 Offline Send Email
Aug 1, 2008
6:47 pm
I was going to save the objects like so: Dim aCustomer As Model.Customer aCustomer = Model.CustomerService.getCustomer(CustomerID) ...
7961 James
jrnail23 Offline Send Email
Aug 1, 2008
7:03 pm
You might want to check out Martin Fowler's book on Analysis Patterns, which presents several models of common business scenarios....
7962 Johan Stuyts
objectthinker Offline Send Email
Aug 1, 2008
7:36 pm
... Besides the Analysis Patterns that was already mentioned I also have the following on my bookshelf: - Object Models Strategies, Patterns and Applications ...
7963 Mario Roman
marioroman Offline Send Email
Aug 2, 2008
3:42 pm
On Fri, Aug 1, 2008 at 2:48 PM, matthias.kampen ... A ... -- Mario...
Messages 7934 - 7963 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