User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 456,419 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,648 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser: Programming Forums
Views: 1919 | Replies: 2
Reply
Join Date: Feb 2007
Posts: 1
Reputation: someone030 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
someone030 someone030 is offline Offline
Newbie Poster

Help Design Pattern - Proxy

  #1  
Feb 16th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Posts: 17
Reputation: taineechan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
taineechan's Avatar
taineechan taineechan is offline Offline
Newbie Poster

Re: Design Pattern - Proxy

  #2  
Feb 17th, 2007
My design pattern knowledge is not too good, but try visiting www.dofactory.com .it summarises design patterns nicely
Reply With Quote  
Join Date: Oct 2008
Posts: 1
Reputation: dronkin is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dronkin dronkin is offline Offline
Newbie Poster

Re: Design Pattern - Proxy

  #3  
26 Days Ago
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Computer Science and Software Design Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 1:00 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC