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

ECMAScript 2019    |    Intermediate
  • 15 videos | 1h 32m 15s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 16 users Rating 4.4 of 16 users (16)
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 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

IN THIS COURSE

  • 2m 23s
  • 6m 25s
    After completing this video, you will be able to describe the key features of the constructor pattern. FREE ACCESS
  • Locked
    3.  The Object Literal Notation
    7m 16s
    In this video, learn how to use object literal notation to construct objects. FREE ACCESS
  • Locked
    4.  Assigning Properties and Functions
    5m 37s
    In this video, you will learn how to assign properties and functions to objects. FREE ACCESS
  • Locked
    5.  Using Object.create() and new Object()
    7m 14s
    In this video, learn how to use Object.create() and the new Object() constructor to create objects. FREE ACCESS
  • Locked
    6.  Functions to Construct Objects
    9m 2s
    In this video, you will learn how to create objects using functions. FREE ACCESS
  • Locked
    7.  ES6 Classes to Construct Objects
    5m 39s
    In this video, find out how to create objects using ES6 classes. FREE ACCESS
  • Locked
    8.  The Factory and Abstract Factory Pattern
    9m 10s
    After completing this video, you will be able to describe the Factory and Abstract Factory patterns. FREE ACCESS
  • Locked
    9.  Defining Classes to be Created
    5m 16s
    In this video, you will define helper functions for the factory pattern. FREE ACCESS
  • Locked
    10.  Setting Up Helpers for the Factory Pattern
    7m 18s
    In this video, you will learn how to set up helper methods to implement the Factory pattern. FREE ACCESS
  • Locked
    11.  Implementing the Factory Pattern
    6m 1s
    This video will teach you how to implement the Factory pattern. FREE ACCESS
  • Locked
    12.  Setting up Constructors and Factories
    5m 32s
    In this video, find out how to set up abstract factories and concrete factories for the abstract factory pattern. FREE ACCESS
  • Locked
    13.  Immediately-invoked Functions for Abstract Factory
    8m 58s
    In this video, find out how to define immediately invoked functions for the factory. FREE ACCESS
  • Locked
    14.  Implementing the Abstract Factory Pattern
    5m 8s
    In this video, find out how to implement the abstract factory pattern. FREE ACCESS
  • Locked
    15.  Course Summary
    1m 16s
    In this video, you will review the key concepts covered in this course. FREE ACCESS

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.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.2 of 2232 users Rating 4.2 of 2232 users (2232)
Rating 4.6 of 21 users Rating 4.6 of 21 users (21)