Model-engineering implementation and expansion (Design Mode C #) Memorandum mode memento-Self-Test"

Source: Internet
Author: User
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. 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.