Design Patterns in JavaScript: Flyweight, Adapter, Composite, & Proxy Structural Patterns
ECMAScript 2019
| Intermediate
- 17 videos | 2h 1m 49s
- Includes Assessment
- Earns a Badge
This 17-video course helps learners discover how to implement Flyweight, Adapter, Composite, and Proxy patterns to model structure between the components in a system. Examine inefficient memory usage, sharing memory, and centralized event handling with Flyweight pattern. Explore possible burdens on a client when the Adapter pattern is not used and how to provide a consistent interface by using adapters. Then learn to use Composite pattern in jQuery and Proxy pattern to cache data and specify context. Key concepts covered here include characteristics of Flyweight pattern; learning how to illustrate inefficient memory usage for granular objects; and how to wire up individual event handlers to HTML elements. You will observe how to centralize event handling with Flyweight pattern; how to articulate features of Adapter pattern; and how to illustrate burdens on clients when Adapter pattern is not used. Finally, learn about characteristics of Composite pattern; how to execute functions by using the right context; and how to apply Proxy pattern to provide the right context.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courserecall the characteristics of the Flyweight patterndescribe how event handling works on the browserillustrate inefficient memory usage for granular objectsshare resources using the Flyweight patternwire up individual event handlers to HTML elementscentralize event handling using the Flyweight patternarticulate features of the Adapter patternillustrate the burden on the client when the Adapter pattern is not used
-
provide a consistent client interface using an adapterrecall the characteristics of the Composite patternapply the Composite pattern using jQuerydescribe the Proxy patternuse the Proxy pattern to cache data on the clientexecute functions using the right contextapply the Proxy pattern to provide the right contextrecall the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 23sUP NEXT
-
2.The Flyweight Pattern8m 46s
-
3.Event Handling in the Browser10m 4s
-
4.Inefficient Memory Usage without Flyweights7m 38s
-
5.Sharing Memory with Flyweights6m 58s
-
6.Individual Event Handlers without Flyweights9m 50s
-
7.Centralized Event Handling with Flyweights8m 2s
-
8.The Adapter Pattern6m 7s
-
9.Specialized Checks without the Adapter7m 29s
-
10.Consistent Interface with the Adapter4m 3s
-
11.The Composite Pattern6m 54s
-
12.The Composite Pattern in jQuery9m 20s
-
13.The Proxy Pattern6m 54s
-
14.Using a Proxy to Cache Data10m 35s
-
15.Executing Functions with the Right Context9m 32s
-
16.Using a Proxy to Specify Context5m 52s
-
17.Course Summary1m 23s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.