PureMVC Architects Lounge

Announcements and General Discussion => Architecture => Topic started by: pebanfield on February 11, 2010, 10:52:20



Title: Single Proxy - Multiple Delegates?
Post by: pebanfield on February 11, 2010, 10:52:20

Hi -

I'm planning to use a single proxy that can be used to invoke one of several different delegates. The single proxy will employ a value object that acts as the schema for data supplied from various delegates. Thus, a single notification will request some data by providing a type value and the proxy will choose the appropriate delegate based on that value. The requesting application will then receive more or less the same data without having to worry about how it was acquired.

Does this sound right? Are there drawbacks to this approach? Is there another best-practice approach? Thanks.

Peter


Title: Re: Single Proxy - Multiple Delegates?
Post by: puremvc on February 11, 2010, 04:22:40
Sounds reasonable.

-=Cliff>