Skip to content
JS

JavaScript Design Patterns for Web Apps

Course on Master.dev by Maximiliano Firtman

View on Master.dev (opens in a new tab)
4 h 25 min
LengthVideo runtime
Subscription
Price modelMaster.dev plan
34
Lessons
Aug 2024
Published13 Aug 2024

About this course

Description from Master.dev

Architect scalable web apps by applying design patterns in JavaScript! Implement classic patterns like Singleton, Factory, and Observer alongside modern patterns for single-page and multi-page architectures. Enhance your ability to build robust, efficient web applications using pure JavaScript without relying on external libraries or frameworks.

What it covers

34 lessons
  1. 01

    Introduction

    1. Introduction
  2. 02

    Understanding Design Patterns

    1. What are Design Patterns?
    2. Components of a Design Pattern
    3. Design Patterns for VanillaJS Web Apps
  3. 03

    Classic Patterns

    1. Classic Patterns
    2. Singleton & Factory Patterns
    3. Decorator Pattern
    4. Adapter, Mixin, & Value Object Patterns
    5. Observer & Template Method Patterns
    6. Memento & Command Patterns
  4. 04

    Refactoring Using Classic Patterns

    1. Todo Masters Project Setup
    2. ECMAScript Modules & globalThis
    3. Observer Pattern with Mixins
    4. Creating the Data Classes
    5. Adding TodoList Methods
    6. Add & Delete Commands
    7. Rendering TodoList Items
    8. Saving Todos in LocalStorage
    9. Adding Keyboard Shortcuts
    10. Undo with Memento Pattern
  5. 05

    Single Page Application Patterns

    1. Single Page Application Patterns
    2. Coffee Masters Project Tour
    3. Lazy Loading JavaScript Components
    4. View Transitions
    5. Morphing Elements Between Pages
    6. HTML Template Interpolation
    7. Routing Metadata
  6. 06

    Multi-Page Application Patterns

    1. Multi-Page Application Patterns
    2. Cooking Masters Project Tour
    3. Prefetch & Prerender
  7. 07

    State Management Patterns & Advanced Ideas

    1. Promisify, Flux, & Redux Patterns
    2. Lazy Sync, Proxy, & Middleware Patterns
    3. Advanced Ideas
  8. 08

    Wrapping Up

    1. Wrapping Up

Similar JavaScript courses

  1. The Hard Parts of Object Oriented JavaScript

    Master.dev · Will Sentance · 38 lessons · Oct 2018

    4 h 30 minSubscription
    Master.dev38Oct 2018
  2. Professional JS: Features You Need to Know

    Master.dev · Maximiliano Firtman · 40 lessons · Jul 2024

    4 h 34 minSubscription
    Master.dev40Jul 2024
  3. Hardcore Functional Architecture Patterns in JavaScript

    Master.dev · Brian Lonsdorf · 37 lessons · Apr 2020

    4 h 10 minSubscription
    Master.dev37Apr 2020
  4. Automations with the Slack API in JavaScript

    Educative · Educative · 20 lessons · Nov 2024

    Beginner4 hFree
    Educative20Nov 2024
  5. Bookkeeping with FreshBooks API in JavaScript

    Educative · Educative · 17 lessons · Nov 2024

    Beginner4 hSubscription
    Educative17Nov 2024
  6. Beginner4 hSubscription
    Educative16Nov 2024
  7. Beginner4 h
    Codecademy1Dec 2022
  8. Beginner4 h
    Codecademy3Dec 2022

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Master.dev catalogue on 28 Nov 2026. How the data is collected.

    Compare