Command
Encapsulates a request as an object, allowing parameterization of clients with queues, requests, and operations. Supports undoable operations and logging.
Command: Turn Actions into Objects
Encapsulating an action and its parameters so it can be queued, logged, and undone.
Command in Production: Jobs and Transactions
Job queues, transactional commands, and command-driven workflows.
Advanced Command: Macro and Event-Sourced Commands
Macro commands, command sourcing, and commands as the audit trail.
Command: Review & Mastery Quiz
Scenario questions on command objects, queues, and sourcing.
Free Books & Guides
Refactoring.Guru — Command
The definitive modern guide to the Command pattern. Clear explanations, UML diagrams, real-world analogies, and code examples in multiple languages.
SourceMaking — Command
A comprehensive companion guide covering the Command pattern with detailed rules of thumb, criticisms, and robust code snippets.
GoF Design Patterns — Command
The original Gang of Four book describing the pattern. Available in the "Design Patterns: Elements of Reusable Object-Oriented Software" on Wikipedia.
Official Documentation
Video Courses
freeCodeCamp — Design Patterns Course
A comprehensive multi-hour video course covering all major design patterns with implementations in JavaScript and TypeScript.
Design Patterns in Modern JavaScript Playlist
YouTube playlist covering creational, structural, and behavioral patterns with clear code walkthroughs.
Web Dev Simplified — Command
Clear, concise video tutorials covering design patterns with practical examples.
Practice & Examples
Awesome Low-Level Design (GitHub)
A curated collection of free LLD resources, pattern implementations, and interview problems across multiple languages.
Design Patterns Implementation (GitHub)
The most popular open-source collection of design pattern implementations with detailed explanations.
Refactoring.Guru Examples in Command
Code examples of the Command pattern in TypeScript, Python, Java, and more.

