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 9329 - 9358 of 23085   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
9329 Udi Dahan
udidahan7 Offline Send Email
Jan 1, 2009
8:48 am
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...
9330 Casey Charlton
caseycharlton69 Offline Send Email
Jan 1, 2009
9:48 am
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...
9331 Ryan Riley
riles01 Offline Send Email
Jan 1, 2009
11:17 am
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...
9332 Richard
richard_vena... Offline Send Email
Jan 1, 2009
11:18 am
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...
9333 Ryan Riley
riles01 Offline Send Email
Jan 1, 2009
11:18 am
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...
9334 Ryan Riley
riles01 Offline Send Email
Jan 1, 2009
11:19 am
... 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...
9335 Ryan Riley
riles01 Offline Send Email
Jan 1, 2009
11:19 am
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...
9336 Sergey Shishkin
shishkin_sergey Offline Send Email
Jan 1, 2009
11:19 am
Giovanni, I absolutely agree with you - mapping as a layer of indirection brings additional complexity to the solution and therefore should not be blindly...
9337 Peter Morris
mrpmorris Offline Send Email
Jan 1, 2009
3:03 pm
... 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...
9338 Carfield Yim
c8133594 Offline Send Email
Jan 2, 2009
6:03 am
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...
9339 Rickard Öberg
rickardoberg Offline Send Email
Jan 2, 2009
10:20 am
... 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...
9340 Justin Daubenmire
JDaubenm Offline Send Email
Jan 2, 2009
8:06 pm
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...
9341 Angel Java Lopez
ajlopez2000 Offline Send Email
Jan 2, 2009
8:22 pm
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...
9342 ericpopivker Offline Send Email Jan 2, 2009
8:29 pm
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...
9343 ericpopivker Offline Send Email Jan 2, 2009
8:49 pm
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...
9344 Colin Jack
colin.jack Offline Send Email
Jan 2, 2009
8:50 pm
... 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 ...
9345 ericpopivker Offline Send Email Jan 2, 2009
9:47 pm
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...
9346 Casey Charlton
caseycharlton69 Offline Send Email
Jan 2, 2009
9:58 pm
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...
9347 Casey Charlton
caseycharlton69 Offline Send Email
Jan 2, 2009
10:40 pm
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 ...
9348 Justin Daubenmire
JDaubenm Offline Send Email
Jan 2, 2009
11:09 pm
Thanks for the feedback. A few questions.... ... Their interfaces are in many cases, implementations are something that most people keep seperate. Q) - Where...
9349 Justin Daubenmire
JDaubenm Offline Send Email
Jan 2, 2009
11:17 pm
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,...
9350 Colin Jack
colin.jack Offline Send Email
Jan 2, 2009
11:58 pm
... 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...
9351 Ryan Riley
riles01 Offline Send Email
Jan 3, 2009
12:05 am
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...
9352 Angel "Java" Lopez
ajlopez2000 Offline Send Email
Jan 3, 2009
9:01 am
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...
9353 Peter Morris
mrpmorris Offline Send Email
Jan 3, 2009
1:38 pm
Hi Justin ... 1. UI 2. Application 3. Domain 4. Infrastructure << There might not be an application layer. ... That is good practise. ... Not necessarily. I...
9354 Justin Daubenmire
JDaubenm Offline Send Email
Jan 3, 2009
2:39 pm
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...
9355 Justin Daubenmire
JDaubenm Offline Send Email
Jan 3, 2009
2:41 pm
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...
9356 Ryan Riley
riles01 Offline Send Email
Jan 3, 2009
4:32 pm
... 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...
9357 Peter Morris
mrpmorris Offline Send Email
Jan 3, 2009
9:19 pm
... 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...
9358 Colin Jack
colin.jack Offline Send Email
Jan 3, 2009
10:01 pm
... these ... With ... Just to caution, I'm not sure this sort of situation is necessarily one that suits DDD (see overuse thread recently)....
Messages 9329 - 9358 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