Proxy Pattern
Hi all,
I've been reading about the Proxy Pattern and it seems like just normal encapsulation to me or do I misunderstand it?
To me, Proxy looks like using a "middleman" class to delegate requests to the actual class so that the implementation of the actual class is hidden from the user.
Another benefit of this proxy pattern is that can delay the creation of an object from the actual class until you need it.
That is what I understand from what I read about it, but do you know some scenarios where you would use the proxy pattern?
Is it for example useful to separate the GUI from the actual code?
grtz

