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

Structural design patterns (Part 2)

Structural design patterns focus on the structure of classes/objects. In the last section we met our first structural design patterns. In this section we will meet the Fly Weight, Facade, Bridge and Proxy design patterns.

Duration:

25:41

Created with

Ben Fhala

Ben Fhala

Ben Fhala is the creative force and founder behind 02geek, a pioneering platform dedicated to making web development accessible to everyone. With over 18 years of experience in the industry, Ben has a deep passion for teaching and a knack for breaking down complex concepts into easy-to-understand lessons.

Structural design patterns (Part 2) Overview

What you'll learn

Structural design patterns focus on the structure of classes/objects. In this section we will meet the Adapter, Composite and Decorator design patterns.

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
Download Source Files