Description
In this course, you will :
- show you tried-and-true JavaScript design patterns for structuring and organising your code to make it more readable and maintainable
- Examine various methods for working with and manipulating objects in JavaScript.
- We'll look at the tried-and-true gang of four design patterns, as well as how to implement them in JavaScript and AngularJS.
Syllabus :
1. What Is a Design Pattern Anyway?
- The Problem
- Design Patterns to the Rescue
- Physical Design Patterns
- The Gang of Four
- So What Is a Design Pattern Anyway?
- The Types of Patterns
2. Objects in JavaScript
- Creating Objects in JavaScript
- Reading and Writing Attributes
- Demo Task Creation
- Define Property
3. Creational Design Patterns
- Constructor Pattern
- Demo: Constructor Pattern
- Prototypes
- Module Pattern
- Factory Pattern
- Singleton Pattern
4. Structural Design Patterns
- Decorator Pattern
- Facade Pattern
- Flyweight
5. Behavioral Design Patterns
- Observer Pattern
- Mediator Pattern
- Command Pattern