command-memento-temporal-persistence

Status: OUT

Command's logging/serialization capability and Memento's state capture provide complementary temporal persistence mechanisms: Commands record the operation sequence (what was done) enabling replay-based crash recovery, while Mementos capture state snapshots (what things looked like) without breaking encapsulation — together supporting both operation-replay and state-restore approaches to temporal recovery.

Justifications

Two patterns (Command logging, Memento capture) address temporal persistence from complementary angles — operation log vs. state snapshot

Depends on (SL): command-logging-enables-crash-recovery, memento-captures-state-preserving-encapsulation

JSON