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

Flyweight

The fly weight design pattern is focused on memory optimization. It's goal is to reduce the size of objects and extract functionality that isn't vital to the object into sub-objects that would enable these features based on need only.

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