Transferred from: Model-engineering implementation and expansion (Design Mode C)
Http://www.cnblogs.com/callwangxiang/
1. Due to the large amount of data generated by the system, the business topics involved are also complicated. To improve the pertinence of system backup and recovery, the Administrator hopes to provide traditional backup and recovery methods, you can also independently back up and restore the function to a specific time segment or a specific business topic. Design related interface definitions
2. During the memo process, you generally need to perform a "series" processing of the memo content, such as compression, signature, and encryption. During the restoration process, the corresponding reverse processing is also required.
Please integrateCor pattern design a memo object that can be embedded with "a series of" processing, and verify it through unit test.
3,In actual projects, due to the different business values of the memo content, different storage is often used to save them, which is used to reduce the total operation cost, consider combining the creation mode to implement a memo object that can be treated differently for the memo content, and verify it through unit test.