Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Provider Logo

Node.js: Design Patterns

via LinkedIn Learning

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.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Using the exercise files
1. Overview
  • What are design patterns?
  • Gang of Four: Design patterns
  • Anti-patterns
2. Creational 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
3. Structural Patterns
  • The Adapter pattern
  • Implementing an adapter
  • The Proxy pattern
  • Implementing a proxy
  • The Composite pattern
  • Implementing composites
  • The Decorator pattern
  • Implementing decorators
4. Behavioral Patterns
  • 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
Conclusion
  • Next steps

Taught by

Alex Banks

Related Courses

Reviews

0.0 rating, based on 0 reviews

Start your review of Node.js: Design Patterns

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free