Node.js: Design Patterns
Overview
Learn how to use common design patterns in Node.js to write better JavaScript code.
Design patterns encourage programming efficiency and code reuse. Learn how to use the same design patterns used in Java and C++ programming in JavaScript. This course is a look at 13 of the most popular object-oriented design patterns as applied to Node.js. Learn essential creational and structural patterns to help solve common coding challenges, while introducing best practices that will keep solutions consistent, complete, and correct. Instructor Alex Banks shows how to implement and improve these patterns so that they are optimized for the Node library.
Design patterns encourage programming efficiency and code reuse. Learn how to use the same design patterns used in Java and C++ programming in JavaScript. This course is a look at 13 of the most popular object-oriented design patterns as applied to Node.js. Learn essential creational and structural patterns to help solve common coding challenges, while introducing best practices that will keep solutions consistent, complete, and correct. Instructor Alex Banks shows how to implement and improve these patterns so that they are optimized for the Node library.
Syllabus
Introduction
- Welcome
- What you should know
- Using the exercise files
- What are design patterns?
- Gang of Four: Design patterns
- Anti-patterns
- The singleton problem
- The Singletons pattern
- Singletons in Node
- The Prototype pattern
- The prototype clone method
- The Factory pattern
- The Builder pattern
- Implementing a builder
- The Adapter pattern
- Implementing an adapter
- The Proxy pattern
- Implementing a proxy
- The Composite pattern
- Implementing composites
- The Decorator pattern
- Implementing decorators
- Chain of responsibility
- Implementing the storage class
- The Command pattern
- Implementing commands
- Improving the conductor
- The Iterator pattern
- Implementing iterators
- The Observer pattern
- Implementing observers
- The Strategy pattern
- Implementing strategies
- Next steps
Taught by
Alex Banks
Related Courses
Reviews
0.0 rating, based on 0 reviews