So-called Design Pattern

Source: Internet
Author: User

When I woke up in the morning, I suddenly thought of a problem when I saw a picture hanging on the wall. The photo frame itself has a hook, but I did not directly mount it to the nail on the wall, because it will rust for a long time, it will damage the appearance of the hook. So I added a short line to the hook and mounted the line to a nail on the wall. After a long time, you can change this line to ensure the appearance of the photo frame. I believe most people will do this.

Also, because the newly purchased PDA needs to be written directly on the screen, it takes a long time for the screen to be spent. Once the screen is worn out, there is no way to restore it, unless you change the screen. So all the people who use PDA buy another screen protective film, paste the film on the screen, and then write on the film. After a long time, the film will be worn out, as long as the film is torn off and bought again. This maximizes the integrity of the PDA.

What is this solution called? InProgramThis is the proxy mode. If the behavior of a third-party database is not damaged, it can be replaced with another proxy without affecting the behavior of the user.

In fact, the so-called 23 design patterns face less than half of the problems to be solved. Generally, two or three models have the same problems to solve, it's just that the methods and directions for solving the problem are different. To sum up, we only need 10 large models. There are two or three models that really fit into your life. They are the ones you use every day, but you don't know what you are using, it is like the protective film on the screen of the PDA.

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.