Command pattern
lastmod 2024-11-12created 2024-11-121 edits
The Command Pattern is one of the behavioral design patterns, and aims to turn a request itself into an object. This pattern is useful when requests may vary by user, time, or project. Turning such requests into objects lets you store them in a queue, record them in a log, and re-execute them.