Isn Bobup the same as the Memento design pattern?
Bobup is modelled after the Memento design pattern but adds a lot more sophistication. The Memento pattern is primarily targeted for undo-redo situations where the state of a particular object must be restored to some previously recorded state. The memento for Bobup is a business entity rather than just an application object. The difference is subtle, but important. For instance, a memento can be recorded for the layout of graphical objects in a visual application. Bobup is concerned more with business data, like backup of customer data, patient data etc.. Nonetheless, the Memento characters are: • An instance of IBackupRecoveryHandler corresponds to the Originator. • The Collater corresponds to the recording aspect of Caretaker. • The Browser and Recoverer correspond to the restoration aspect of Caretaker. • The memento itself is the business entity.