K
2008-01-11 00:50:24 UTC
Is there a design pattern that's the conceptual opposite of a facade?
While a facade presents a single interface to a more complex
underlying mechanism (fan out), is there a pattern that presents a
diverse range of interfaces to a single, simple underlying mechanism?
For example, I have a component that takes in XML data and transforms,
enriches and manipulates it. This is the single underlying component.
However, the component can receive this XML data from several
different sources and transports such as HTTP, JMS, etc. In effect,
this component is presenting multiple, diverse interfaces to the same
function.
Is there a design pattern that talks about this? If so what is it and
where can I find more information about it?
TIA
While a facade presents a single interface to a more complex
underlying mechanism (fan out), is there a pattern that presents a
diverse range of interfaces to a single, simple underlying mechanism?
For example, I have a component that takes in XML data and transforms,
enriches and manipulates it. This is the single underlying component.
However, the component can receive this XML data from several
different sources and transports such as HTTP, JMS, etc. In effect,
this component is presenting multiple, diverse interfaces to the same
function.
Is there a design pattern that talks about this? If so what is it and
where can I find more information about it?
TIA