How to reduce tight coupling between two data sources
Posted
by
fstuijt
on Programmers
See other posts from Programmers
or by fstuijt
Published on 2012-11-16T15:11:25Z
Indexed on
2012/11/16
17:16 UTC
Read the original article
Hit count: 268
architecture
I'm having some trouble finding a proper solution to the following architecture problem.
In our setting (sketched below) we have 2 data sources, where data source A is the primary source for items of type Foo. A secondary data source exists which can be used to retrieve additional information on a Foo; however this information does not always exist.
Furthermore, data source A can be used to retrieve items of type Bar. However, each Bar refers to a Foo. The difficulty here is that each Bar should refer to a Foo which, if available, also contains the information as augmented by data source B.
My question is: how to remove the tight coupling between data source A and B?
© Programmers or respective owner