943,708 Members | Top Members by Rank

Ad:
Feb 16th, 2007
0

Design Pattern - Proxy

Expand Post »
Hello,
I'm implementing a software module and hesitating about the appropriate design. The client needs to perform operations for an componenet which is divided to few parts in the memory. However the client treats the componenet as one contiguous.
My design includes a "Manager" which has an interface for the client and handles all operations for this components. The "Manager" knows when it is asked to read/write the appropriate part of the memory. It hides the fact that the component is divided to few parts in the memory space.
I wonder if this is called a proxy, facade or a bridge? Or maybe other pattern? I think it is a proxy but not sure since there few real objects (i.e. subjects) and not only one.
In case this is a proxy - must I use also the "subject" or can the client use the proxy object directly? I don't see the point to "subject" and it will just cause to more unnecessary files and code.

Thanks in advance,
Ilan
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
someone030 is offline Offline
1 posts
since Feb 2007
Feb 17th, 2007
0

Re: Design Pattern - Proxy

My design pattern knowledge is not too good, but try visiting www.dofactory.com .it summarises design patterns nicely
Reputation Points: 10
Solved Threads: 1
Newbie Poster
taineechan is offline Offline
17 posts
since Oct 2006
Oct 23rd, 2008
0

Re: Design Pattern - Proxy

Hi
I think you'd better use Chain-of-Responsibility, it's supposed to fit your need as i figured, see more here: http://www.dofactory.com/Patterns/Pa...in.aspx#_self2

David
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dronkin is offline Offline
1 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: object-oriented design’s sequence diagrams
Next Thread in Computer Science Forum Timeline: Towers of Hanoi





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC