Design Patterns in JavaScript: Constructor, Factory, & Abstract Factory Creational Patterns
ECMAScript 2019
| Intermediate
- 15 Videos | 1h 32m 15s
- Includes Assessment
- Earns a Badge
Explore the Constructor, Factory, and Abstract Factory creational patterns in Javascript. In this 15-video course, learners examine how to use constructors to create and initialize objects and how to use Factory and Abstract Factory to create different kinds of objects. Key concepts covered in this course include features of the constructor pattern, which allows construction or creation of objects that meet a specific use case; how to use object literal notation to construct objects; and how to assign properties and functions to objects. You will learn how to use Object.create() and new Object() to create objects; learn how to create objects using functions and ES6 classes; and examine Factory and Abstract Factory patterns, two design patterns closely related to one another. Next, learn about helper functions for the Factory pattern; how to set up helper methods to implement the Factory pattern; and how to set up constructs and factories for the Abstract Factory pattern. Finally, learn about immediately-invoked functions for Factory pattern and how to implement Abstract Factory pattern.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursedescribe the key features of the constructor patternuse the object literal notation to construct objectsassign properties and functions to objectsuse Object.create() and new Object() to create objectscreate objects using functionscreate objects using ES6 classesdescribe the Factory and abstract factory patterns
-
define helper functions for the factory patternsetting up helper methods to implement the Factory patternimplement the Factory patternset up constructs and factories for the abstract factory patterndefine immediately-invoked functions for the factoryimplement the abstract factory patternrecall the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 23sUP NEXT
-
2.The Constructor Pattern6m 25s
-
3.The Object Literal Notation7m 16s
-
4.Assigning Properties and Functions5m 37s
-
5.Using Object.create() and new Object()7m 14s
-
6.Functions to Construct Objects9m 2s
-
7.ES6 Classes to Construct Objects5m 39s
-
8.The Factory and Abstract Factory Pattern9m 10s
-
9.Defining Classes to be Created5m 16s
-
10.Setting Up Helpers for the Factory Pattern7m 18s
-
11.Implementing the Factory Pattern6m 1s
-
12.Setting up Constructors and Factories5m 32s
-
13.Immediately-invoked Functions for Abstract Factory8m 58s
-
14.Implementing the Abstract Factory Pattern5m 8s
-
15.Course Summary1m 16s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.