JavaScript: Patterns

Go to class
Write Review

Free Online Course: JavaScript: Patterns provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. JavaScript: Patterns is taught by Emmanuel Henri.

Overview
  • How do traditional design patterns translate to JavaScript? Find out in this course. Enhance your code by mastering key creational, structural, and behavioral design patterns.

    For the past two decades, programmers have structured both their code and their conversations about code around the patterns first described in Design Patterns, the classic Gang of Four book. JavaScript programmers have participated in these conversations, but the patterns discussed mostly fit in the world of orthodox object-oriented programming. In this course, Emmanuel Henri explains how these patterns fit with JavaScript. He demystifies the purpose of some of the most common patterns, providing code examples along the way. Learn about key creational, structural, and behavioral design patterns, and how you can apply each of them in your JavaScript code.

Syllabus
  • Introduction

    • JavaScript design patterns
    • What you should know
    1. Introduction
    • What is a pattern?
    • Setting up your base project
    • Functions as first-class citizens
    • What is a callback and its role?
    2. Creational Patterns
    • What are creational patterns?
    • Class design pattern
    • Constructor pattern
    • Singleton pattern
    • Factory pattern
    • Abstract factory pattern
    3. Structural Patterns
    • What are structural patterns?
    • Module pattern
    • Mixins pattern
    • Facade pattern
    • Flyweight pattern
    • Decorator pattern
    • Model-View-Controller (MVC) pattern
    • Model-View-Presenter (MVP) pattern
    • Model-View-ViewModel (MVVM) pattern
    4. Behavioral Patterns
    • What are behavioral patterns?
    • Observer pattern
    • State pattern
    • Chain of responsibility
    • Iterator pattern
    • Strategy pattern
    • Memento pattern
    • Mediator pattern
    • Command pattern
    Conclusion
    • Next steps