• Online, Self-Paced
Course Description

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.

Learning Objectives

{"discover the key concepts covered in this course"}

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.