JavaScript: Patterns
1h 16mIntermediate2020-04-20
Authors

Emmanuel Henri
Executive with 20+ years of experience in programming and design
Course details
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.
Skills covered
JavaScriptOracleProgramming LanguagesSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - JavaScript design patterns
- 02 - What you should know
1. Introduction
- 03 - What is a pattern
- 04 - Setting up your base project
- 05 - Functions as first-class citizens
- 06 - What is a callback and its role
2. Creational Patterns
- 07 - What are creational patterns
- 08 - Class design pattern
- 09 - Constructor pattern
- 10 - Singleton pattern
- 11 - Factory pattern
- 12 - Abstract factory pattern
3. Structural Patterns
- 13 - What are structural patterns
- 14 - Module pattern
- 15 - Mixins pattern
- 16 - Facade pattern
- 17 - Flyweight pattern
- 18 - Decorator pattern
- 19 - Model-View-Controller (MVC) pattern
- 20 - Model-View-Presenter (MVP) pattern
- 21 - Model-View-ViewModel (MVVM) pattern
4. Behavioral Patterns
- 22 - What are behavioral patterns
- 23 - Observer pattern
- 24 - State pattern
- 25 - Chain of responsibility
- 26 - Iterator pattern
- 27 - Strategy pattern
- 28 - Memento pattern
- 29 - Mediator pattern
- 30 - Command pattern
Conclusion
- 31 - Next steps