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...
Show off your group to the world. Share a photo of your group with us.

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 9329 - 9358 of 16019   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
9329
On the issue of "adding an order item needs to update the product inventory", well, it probably doesn't. As long as you know you have enough inventory for the...
Udi Dahan
udidahan7
Offline Send Email
Jan 1, 2009
8:48 am
9330
That was my thought when I browsed this question ... having written a number of ecommerce systems, the ordering and inventory parts have rarely had muchto do...
Casey Charlton
caseycharlton69
Offline Send Email
Jan 1, 2009
9:48 am
9331
Your model is certainly becoming anemic. Your commands are fine, though I'm not sure why you made them commands when, in your current implementation, they...
Ryan Riley
riles01
Offline Send Email
Jan 1, 2009
11:17 am
9332
Hi, I'm Richard, i'm init in this idea, and i don't know how i going show the reports for users. How the Application layer shows the objects for the...
Richard
richard_vena...
Offline Send Email
Jan 1, 2009
11:18 am
9333
Artur makes a very good point. Don't try by all means to make all methods fit into your entity. Keep it simple and only do as much as necessary, but feel free...
Ryan Riley
riles01
Offline Send Email
Jan 1, 2009
11:18 am
9334
... Technically, the Service Layer sits on top of the Domain Layer, and your entities should exist in the Domain Layer. I think, though, that your question is...
Ryan Riley
riles01
Offline Send Email
Jan 1, 2009
11:19 am
9335
As always, it depends. You can indeed allow the presentation layer to use the repository directly, just as you can allow the presentation layer to use a...
Ryan Riley
riles01
Offline Send Email
Jan 1, 2009
11:19 am
9336
Giovanni, I absolutely agree with you - mapping as a layer of indirection brings additional complexity to the solution and therefore should not be blindly...
Sergey Shishkin
shishkin_sergey
Offline Send Email
Jan 1, 2009
11:19 am
9337
... I'd certainly be keen for you to tell me what they are :-) ... To me too, but I think it would be less complicated than using a DB. ... With in-memory...
Peter Morris
mrpmorris
Offline Send Email
Jan 1, 2009
3:03 pm
9338
Just see this discussion, IMHO I think the problem of Anemic Object is that there are multiple services class access directly to the data model ( or database...
Carfield Yim
c8133594
Offline Send Email
Jan 2, 2009
6:03 am
9339
... Right, what we have done is to simply say that ALL functionality in an object comes from aspects, meaning, in your example Person and StoreRoom would have...
Rickard Öberg
rickardoberg
Offline Send Email
Jan 2, 2009
10:20 am
9340
All, I have to present on the basics of DDD this Monday. I was jotting down some notes and was wanting to confirm my thoughts so if others can help me focus on...
Justin Daubenmire
JDaubenm
Offline Send Email
Jan 2, 2009
8:06 pm
9341
Short answers about 5: Repositories doesn't return DTO, they return domain objects. Any needed DTO, I guess, is usually generated from service, returning to UI...
Angel Java Lopez
ajlopez2000
Offline Send Email
Jan 2, 2009
8:22 pm
9342
Hi Casey, I see your point. In current system there is a business requirement that I can only add product to Order if it is available in stock. I was trying...
ericpopivker
Offline Send Email
Jan 2, 2009
8:29 pm
9343
Hi Udi, With this approach - the Ordering context knows about Inventory context and vica versa. How would it work if I use a 3rd party inventory management...
ericpopivker
Offline Send Email
Jan 2, 2009
8:49 pm
9344
... Not sure there's any real rules but it seems sensible. Depends on what you need tho. ... Thats definitely an approach, some have UI talk to ...
Colin Jack
colin.jack
Offline Send Email
Jan 2, 2009
8:50 pm
9345
Thank you for all the great responses. One of the responses made me think that maybe I was just delegating Order Processing from the wrong place. I was doing...
ericpopivker
Offline Send Email
Jan 2, 2009
9:47 pm
9346
Indeed if an item must be in stock then a Reserve method would be best, but in DDD terms I would have this as a method on the Inventory domain, which would...
Casey Charlton
caseycharlton69
Offline Send Email
Jan 2, 2009
9:58 pm
9347
Just one thought ... You have All those actions on Order ... An Order is the final item in an ecommerce system ... Until confirmation, no Order exists ...a ...
Casey Charlton
caseycharlton69
Offline Send Email
Jan 2, 2009
10:40 pm
9348
Thanks for the feedback. A few questions.... ... Their interfaces are in many cases, implementations are something that most people keep seperate. Q) - Where...
Justin Daubenmire
JDaubenm
Offline Send Email
Jan 2, 2009
11:09 pm
9349
thanks Angel for the feedback! A few questions... Short answers about 5: Repositories doesn't return DTO, they return domain objects. Any needed DTO, I guess,...
Justin Daubenmire
JDaubenm
Offline Send Email
Jan 2, 2009
11:17 pm
9350
... repository itself? ... The repository is a class and in most cases it would have the code to talk to the data-store directly, normally it would support one...
Colin Jack
colin.jack
Offline Send Email
Jan 2, 2009
11:58 pm
9351
Rob Conery's MVC Storefront how-to videos <http://blog.wekeroad.com/mvc-storefront/> should answer most of these questions at a high-level. They don't...
Ryan Riley
riles01
Offline Send Email
Jan 3, 2009
12:05 am
9352
Hi people! Hmmm.... Q1 and Q2: it depends of what are you using in infrastructure. If you use NHibernate/Hibernate, for example, it could be implemented in...
Angel "Java" Lopez
ajlopez2000
Offline Send Email
Jan 3, 2009
9:01 am
9353
Hi Justin ... 1. UI 2. Application 3. Domain 4. Infrastructure << There might not be an application layer. ... That is good practise. ... Not necessarily. I...
Peter Morris
mrpmorris
Offline Send Email
Jan 3, 2009
1:38 pm
9354
Thanks Angel for all the information! Do you return domain layer objects to the UI layer and map the domain layer object fields to controls on a form? Or do...
Justin Daubenmire
JDaubenm
Offline Send Email
Jan 3, 2009
2:39 pm
9355
Thanks Pete for the clarification... the fog is starting to lift! I program in .NET. I wanted to ask you the same thing I asked Angel, that is... Do you return...
Justin Daubenmire
JDaubenm
Offline Send Email
Jan 3, 2009
2:41 pm
9356
... objects to the UI layer and map the domain layer object fields to controls on a form? Or do you translate the domain layer object to a DTO and use the DTO...
Ryan Riley
riles01
Offline Send Email
Jan 3, 2009
4:32 pm
9357
... In some apps, yes, in some no. In a WinForm app I used domain objects directly in the GUI via databinding. In an app I am helping to write at the moment...
Peter Morris
mrpmorris
Offline Send Email
Jan 3, 2009
9:19 pm
9358
... these ... With ... Just to caution, I'm not sure this sort of situation is necessarily one that suits DDD (see overuse thread recently)....
Colin Jack
colin.jack
Offline Send Email
Jan 3, 2009
10:01 pm
Messages 9329 - 9358 of 16019   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