5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

IT Skills     Web Development and Graphic Design     Scripting     JavaScript

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.



Objectives

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

  • discover the key concepts covered in this course
  • describe the key features of the constructor pattern
  • use the object literal notation to construct objects
  • assign properties and functions to objects
  • use Object.create() and new Object() to create objects
  • create objects using functions
  • create objects using ES6 classes
  • describe the Factory and abstract factory patterns
  • define helper functions for the factory pattern
  • setting up helper methods to implement the Factory pattern
  • implement the Factory pattern
  • set up constructs and factories for the abstract factory pattern
  • define immediately-invoked functions for the factory
  • implement the abstract factory pattern
  • recall the key concepts covered in this course