Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Isn Bobup the same as the Memento design pattern?

design memento Pattern
0
10 Posted

Isn Bobup the same as the Memento design pattern?

0
10

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123