Proxy Pattern

From Logic Wiki
Revision as of 19:57, 28 January 2019 by AliIybar (Talk | contribs) (Created page with "Category:Extreme Programming Category:Design Patterns Category:OOP == Video == [https://www.youtube.com/watch?v=NwaabHqPHeM https://www.youtube.com/watch?v=Nwaab...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Video

https://www.youtube.com/watch?v=NwaabHqPHeM

Definition

In proxy pattern, a class represents functionality of another class. This type of design pattern comes under structural pattern.

In proxy pattern, we create object having original object to interface its functionality to outer world.

Proxy Types

  • Remote
  • Virtual : instead of calling an expensive resource, we call proxy and proxy caches the resources and returns a cheap result.
  • Protection

Proxy.gif