Re: How-to implement the e-Commerce-System found in the "IDDD" book

Greg Young <[email protected]>
Newsgroups gmane.comp.programming.domain-driven-design
Message-ID <CAC9RQtgwQyNn4kgqNaaq-cvLe-+g9k2TVBK_8EZ7sTc_V9zKLg@mail.gmail.com>
There is no suc thing as fresh information.

On Monday, June 3, 2013, Mauro Servienti wrote:

> **
>
>
> But, if in your scenario makes sense to regenerate the order each time it
> is opened you can issue a query to the product BC, via a service exposed by
> the product BC using a dedicated read model for the order - product
> communication, in any case the order aggregate does not need the product
> aggregate for this task.
>
> The problem you have to face is: since you can totally isolate (different
> processes on different servers) BCs what happens when you query for an
> order and the product BC is not available?
>
> There are scenario in which makes sense that the order is available with
> stale information and other where you need all the time as much as possible
> fresh information and others where you _must_ have fresh information.
>
> .m
>
> -----Original Message-----
> From: [email protected] <javascript:_e({}, 'cvml',
> 'domaindrivendesign%40yahoogroups.com');> [mailto:
> [email protected] <javascript:_e({}, 'cvml',
> 'domaindrivendesign%40yahoogroups.com');>] On Behalf Of
> wonderfulworldofpingpong
> Sent: lunedì 3 giugno 2013 22.43
> To: [email protected] <javascript:_e({}, 'cvml',
> 'domaindrivendesign%40yahoogroups.com');>
> Subject: [domaindrivendesign] Re: How-to implement the e-Commerce-System
> found in the "IDDD" book
>
> I don't agree to this. Regenerating an order requires a query to the BC
> that contains the Product.
>
> > - Independency: Order-BC should not depend on the availability of the
> Product-BC to work;
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>  
>


-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.