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

ECMAScript 2019
  • 15 Videos | 1h 38m 45s
  • Includes Assessment
  • Earns a Badge
Likes 23 Likes 23
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

  • Playable
    1. 
    Course Overview
    2m 23s
    UP NEXT
  • Playable
    2. 
    The Constructor Pattern
    6m 25s
  • Locked
    3. 
    The Object Literal Notation
    7m 16s
  • Locked
    4. 
    Assigning Properties and Functions
    5m 37s
  • Locked
    5. 
    Using Object.create() and new Object()
    7m 14s
  • Locked
    6. 
    Functions to Construct Objects
    9m 2s
  • Locked
    7. 
    ES6 Classes to Construct Objects
    5m 39s
  • Locked
    8. 
    The Factory and Abstract Factory Pattern
    9m 10s
  • Locked
    9. 
    Defining Classes to be Created
    5m 16s
  • Locked
    10. 
    Setting Up Helpers for the Factory Pattern
    7m 18s
  • Locked
    11. 
    Implementing the Factory Pattern
    6m 1s
  • Locked
    12. 
    Setting up Constructors and Factories
    5m 32s
  • Locked
    13. 
    Immediately-invoked Functions for Abstract Factory
    8m 58s
  • Locked
    14. 
    Implementing the Abstract Factory Pattern
    5m 8s
  • Locked
    15. 
    Course Summary
    1m 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.

YOU MIGHT ALSO LIKE

Likes 22 Likes 22  
Likes 19 Likes 19