DevPath · Learn to code ESPTEN

JavaScript

🎯 Design patterns

Reusable solutions to common problems: module, factory, singleton, observer and strategy.

What you'll learn

Lessons

Module and factory patternsEncapsulate state and create objects flexibly. Singleton and observerA single instance and event subscription. Strategy patternSwap algorithms at runtime.
Practice this module in the app

DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.

Start free in the app →