25.8.20
This website uses cookies to ensure you get the best experience on our website. Learn more

Design Patterns in JavaScript: Constructor, Factory, & Abstract Factory Creational Patterns

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. 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.

Issued on

November 17, 2021

Expires on

Does not expire