Recommended 10 articles on solution design patterns

Source: Internet
Author: User
The examples in the book are relatively easy to understand, but because it is written by foreigners, the habit of example is not very Chinese characteristics, may occasionally look awkward, there are language habits are not Chinese wind.   Of course, after reading this book, you will be able to understand exactly what design patterns can solve for you, and what problems cannot be solved for you (such as not replacing your code). I've changed some of the code in the book to PHP, and it's easier to understand how the code fits into the concept. The policy mode copy code code is as follows: 1. Head First design mode "head First design mode" code PHP layout to the object of the 1th 2 page introduction: Head First design mode: Head First design mode "head First design mode" code PHP layout to Object learning 1th/ 2 pages: The examples in the book are relatively easy to understand, but because it is written by foreigners, so the example of the habit is not very attached to Chinese characteristics, may occasionally look awkward, there are language habits are not Chinese wind. Of course, after reading this book, you will be able to understand exactly what design patterns can solve for you, not

1. About Guo Feng's article recommended 10 articles

Introduction: The examples in the book are relatively easy to understand, but because it is written by foreign people, so the example of the habit is not very attached to Chinese characteristics, may occasionally look awkward, there are language habits are not Chinese wind.   Of course, after reading this book, you will be able to understand exactly what design patterns can solve for you, and what problems cannot be solved for you (such as not replacing your code). I've changed some of the code in the book to PHP, and it's easier to understand how the code fits into the concept. The policy mode copy code code is as follows: 1. Head First design mode "head ...

2.5 recommended courses on Chinese characteristics

Introduction: The examples in the book are relatively easy to understand, but because it is written by foreign people, so the example of the habit is not very attached to Chinese characteristics, may occasionally look awkward, there are language habits are not Chinese wind.   Of course & #65533;& #65533; After reading this book, you will be able to understand exactly what design patterns can solve for you and what problems you cannot solve (such as not replacing your code). I've changed some of the code in the book to PHP, and it's easier to understand how the code fits into the concept. The policy mode copy code code is as follows:

3. The proxy mode in the design mode and its implementation in Java program

Introduction: The proxy mode is mainly divided into static agents and dynamic agents, so that the client side of the user through the set of agents to manipulate the object, the following to explain the design model of proxy agent mode and in the Java program implementation

4. Take Java code as an example to explain the simple factory pattern in design mode

Summary: Simply put, the factory pattern is to return a type of object according to the requirements, the meaning of using Factory mode is that if the object is instantiated and the code depends too much, it is inconvenient to extend and maintain, the purpose of using the factory is to make the instantiation of object and the main program code to decouple. To look specifically at:

5. Java Common Design Patterns

Introduction: Design Patterns, a programmer's understanding of design patterns: "Don't understand" why it's so complicated to make something very simple. Later with the experience of software development began to understand that I see the "complex" is precisely the essence of design patterns, I understand the "simple" is the key starts locks model, the purpose is only to focus on solving the present problem, and the design pattern of "complex" is that it is to construct a "universal key", The aim is to propose a lock-out scheme for all locks. I've been writing "simple" code before I really understood design patterns. This "simple" is not a simple function, but a simple design. Simple design means lack of flexibility, the code is hard steel, only useful in this project, to get other

6. Head First design mode "head First design mode" code PHP layout to the object 1th/2 page

Introduction: Head First design mode: Head First design mode "head First design mode" code PHP layout to the object of the 1th/2 page: The book's examples are relatively easy to understand, but because it is written by foreigners, so the example of the habit is not very attached to Chinese characteristics, It may seem awkward occasionally, and language habits are not Chinese.   Of course, after reading this book, you will be able to understand exactly what design patterns can solve for you, and what problems cannot be solved for you (such as not replacing your code). I've changed some of the code in the book to PHP, and it's easier to understand how the code fits into the concept. The policy mode copy code code is as follows: <?php

7. Examples of simple factory patterns in PHP design pattern programming, examples of design patterns _php Tutorial

Introduction: The example explains the simple factory pattern in PHP design pattern programming, the example explains the design pattern. The example explains the simple factory pattern in PHP design mode programming, the example explains the design pattern Simple Factory mode is the class creation mode, also called the Static Factory method (Factory) mode

8. Example explains the simple Factory mode in PHP design mode programming, the example explains the design pattern

Introduction: The example explains the simple factory pattern in PHP design pattern programming, the example explains the design pattern. The example explains the simple factory pattern in PHP design mode programming, the example explains the design pattern Simple Factory mode is the class creation mode, also called the Static Factory method (Factory) mode

9. The application of the factory method pattern in the design mode in the Python program

Introduction: This article mainly introduces the application of the factory method pattern in the design pattern in the Python program, the factory method pattern advocate program can generate various kinds of instances according to different conditions in the design, the need of friends can refer to the following

10. "Head First design Mode" code PHP version (object-oriented learning) _php

Introduction: "Head First design mode" is a good way to explain the design patterns of the book, not like F4 writing so boring, it should be easier to understand the good book.

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.