Proxy Design Pattern

Proxy Design Pattern


A simplest design pattern
just do hiding real object and introduce a placeholder.
use case :
when you want lazy initialization of real subject.
when do you want some other operation before making call on real object.
1. filtration of operation
2. logging of input.
3. after calling real object need to do logging of operation success or failure.

www.desikudi.in

No comments:

Post a Comment

would you like it. :)