Transaction Tape

A time-ordered list of state changes to a system. When applied in time order to an Advancer the previous state of the system can be recreated. If the current state is stored and state changes are reversible then the tape can be truncated at the beginning without affecting the current state; it merely limits how far back you can go.

Known uses for this pattern (TransactionTape plus an Advancer) include portfolio management and cricket scoreboards. C.f. undo and the command pattern. -- HubertMatthews

EditText of this page (last edited January 27, 2005) or FindPage with title or text search