JavaScript: Patterns

JavaScript: Patterns

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 15m | 214 MB

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.

Table of Contents

1 JavaScript design patterns
2 What you should know
3 What is a pattern
4 Setting up your base project
5 Functions as first-class citizens
6 What is a callback and its role
7 What are creational patterns
8 Class design pattern
9 Constructor pattern
10 Singleton pattern
11 Factory pattern
12 Abstract factory pattern
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
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
31 Next steps