Structural patterns

Proxy

A stand-in that implements the same interface as a real object and CONTROLS access to it, to defer expensive work, check permissions, cache, or reach a remote object. An animated lesson where the diagram draws itself as the design grows.

  • Lesson 5 of 7
  • Animated diagrams

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

7 lessons, each with diagrams that draw themselves.

What you will learn

  • A stand-in you can't tell apart
  • Four common flavours
  • Proxy vs Decorator

More low-level design

Watch Proxy take shape

Sign in and the lesson opens with its diagram ready to play, and the rest of Structural patterns beside it.

DSA comes with the all labs plan and every ChaiCode batch.