02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

Proxy

The proxy design pattern is when one function/object behaves as if it is another one. There are many usages of it mainly when it comes to security, tracking when we want to have information go through a funnel so we can control it, influence it or monitor it. In javascript the most common implementation of the proxy design pattern is when it comes to keeping scope of functions. In this lecture we will create a proxy fixer for the issues of losing scope in javascript.

Flyweight

- Reduce memory usage in large objects. - Reduce size of multiply used objects. - by extracting/reducing properties and methods.

07:39

Facade

- Simplified Interface to reduce API footprint. - Great way to remove API elements you want to protect. - Helps you control application features/access.

05:09

Getting things working again

- Facade Broke it. - We need to create a way to un-facade. - Let's get to it.

05:26

Bridge

- Bridge vs. Adapter - Adapter is created after the fact. - Bridge is created while creating the classes.

01:36

Proxy

- When a function/object behaves as if it is another one. - Proxy's control, influence or monitor. - They are gateways to the real objects.

05:52