Practical Design Patterns in JavaScript
Writing "bad" JavaScript is easy. Fortunately, writing "good" JavaScript is not too much harder. In this course, I will show you tried and true design patterns to help structure and organize your code to make your JavaScript code more readable and maintainable.
What you'll learn
Writing "bad" JavaScript is easy. Fortunately, writing "good" JavaScript is not too much harder.
In this course, I will show you tried and true JavaScript design patterns to help structure and organize your code to make it more readable and maintainable.
I will walk you through the different ways to work with and manipulate objects in JavaScript. We will look at the tried and true gang of four design patterns and how to implement those patterns in JavaScript and AngularJS.
Table of contents
- Introduction 1m
- Constructor Pattern 3m
- Demo: Constructor Pattern 4m
- Prototypes 2m
- Demo: Prototypes 2m
- Demo: Constructor Node 2m
- Demo: Classes 3m
- Demo: Constructor Angular 6m
- Module Pattern 2m
- Demo: Module Pattern 8m
- Demo: Angular Module Pattern 4m
- Factory Pattern 2m
- Demo: Factory Pattern 9m
- Singleton Pattern 3m
- Demo: Singleton Node 5m
- Demo: Singleton Angular 3m
- Summary 2m