Gof design mode and Mode

Source: Internet
Author: User
When gof wrote the book "design patterns", it was just the beginning of pattern research, and plop held only two sessions. Various pattern and pattern languages are still in the review stage, the formation and writing of patterns are still in the exploratory stage. Therefore, the gof design pattern is quite different from the current model in the general sense. Understanding these differences helps you better understand the meaning of the design model. This section highlights the differences between the gof design model and the current model theory and the impact on understanding.
The difference between the gof design model and pattern theory is that the former focuses more on solutions. There is no reason to think that the design pattern is the solution. gof admitted in his book that their design pattern is more focused on the solution (Implementation) than Alexander's pattern) and the latter is more focused on the Problem description. It is precisely because the proportion of the description of the solution is much greater than the description of the problem. Therefore, when using the design model, the difficulty is often caused by the inability to determine whether the design model should be used, or which design mode is used, rather than the implementation after the mode is selected.
Therefore, when understanding the design model, the focus should be on the factors that need to be taken into account when solving the problem in each model. In the gof design model, motivation description is usually a specific instance. You need to understand the context and forces implied in the motivation from the instance. Of course, it is very difficult to summarize the abstract context and forces for the design model. Another way to solve this problem is to provide more application instances, this allows you to get inspiration from similar instances based on your business background to understand the meaning.
It should be emphasized that the design model is a model, and the model is a way of thinking about the problem and a form of thinking about the results. due to historical reasons, gof's design model is different from the pattern theory. However, this is not to say that the pattern is in conflict with the pattern theory, but to understand it, we need to understand the meaning of the design pattern according to the pattern.

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.