these are two general patterns, observer/listener and undo/redo
(command-pattern), which have nothing to do with DB.
i dont know about 2) DB-observers which would react on somebody else
changing the DB, AFAIK that is possible on certain servers only, but
the rest should be done independly on
On Feb 24, 5:16 pm, a...@svilendobrev.com wrote:
these are two general patterns, observer/listener and undo/redo
(command-pattern), which have nothing to do with DB.
i dont know about 2) DB-observers which would react on somebody else
changing the DB, AFAIK that is possible on certain servers
If you choose to go down the journaling route, some things would be helpful:
1. all of your functions (journalable actions) should have inverse
functions to reverse them.
If this is true, then from a particular state, you can simply record
the actions, checkpointing all user objects