Episode

Design Patterns: Command/Memento

This is the first of an eight part series where Robert is joined by Phil Japikse to discuss design patterns. A design pattern is a best practice you can use in your code to solve a common problem. In this episode, Phil demonstrates the Command and Memento patterns. The Command pattern encapsulates all the information an object needs to perform an action or trigger an event. The Memento pattern provides the ability to restore an object to its previous state.

Episodes in this series:

Resources