tag:blogger.com,1999:blog-7821856652257554779.post6670279847354016948..comments2025-09-20T09:27:07.510+02:00Comments on Andrzej on Software: DCI for dummiesAndrzej Krzywdahttp://www.blogger.com/profile/06399276063142826365noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7821856652257554779.post-53163231885494212212011-12-16T20:40:47.070+01:002011-12-16T20:40:47.070+01:00Jim:
The product is definitely exposed in the use...Jim:<br /><br />The product is definitely exposed in the use case. Is it an actor? I'm not sure. User and shop use the product somehow, but it doesn't pass my current definition of an actor.<br /><br />And yeah, it could be implement in a way you're suggesting. At some point there must be a connection to the shop (playing the OrderManager role) to turn it into an order. That's why I put it in the shop object.Andrzej Krzywdahttps://www.blogger.com/profile/06399276063142826365noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-76729689515674715612011-12-16T20:40:27.638+01:002011-12-16T20:40:27.638+01:00You should write your's own framework ;)You should write your's own framework ;)Jan Dudulskihttps://www.blogger.com/profile/16925092071548166033noreply@blogger.comtag:blogger.com,1999:blog-7821856652257554779.post-31751900600533792902011-12-16T20:16:57.592+01:002011-12-16T20:16:57.592+01:00In your example you have a shop by a product. Isn&...In your example you have a shop by a product. Isn't a product an actor?<br /><br />I would think of something along the lines of this:<br /><br />buyer.select(product)<br />buyer.checkoutAnonymousnoreply@blogger.com