[GO] Design patterns learned with Java & PHP (summary)

Introduction

I summarized the design patterns. I am writing this to deepen my understanding, so if there are any obvious mistakes, please let me know in the comments. (Reply and correct as soon as possible)

The main references are: (See below for individual referrers)

-[Introduction to Design Patterns Learned in Java Language](https://www.amazon.co.jp/%E5%A2%97%E8%A3%9C%E6%94%B9%E8%A8%82] % E7% 89% 88Java% E8% A8% 80% E8% AA% 9E% E3% 81% A7% E5% AD% A6% E3% 81% B6% E3% 83% 87% E3% 82% B6% E3 % 82% A4% E3% 83% B3% E3% 83% 91% E3% 82% BF% E3% 83% BC% E3% 83% B3% E5% 85% A5% E9% 96% 80-% E7% B5% 90% E5% 9F% 8E-% E6% B5% A9 / dp / 4797327030 / ref = sr_1_1? Ie = UTF8 & qid = 1454743284 & sr = 8-1 & keywords = java% E8% A8% 80% E8% AA% 9E% E3 % 81% A7% E5% AD% A6% E3% 81% B6% E3% 83% 87% E3% 82% B6% E3% 82% A4% E3% 83% B3% E3% 83% 91% E3% 82 % BF% E3% 83% BC% E3% 83% B3% E5% 85% A5% E9% 96% 80)

What to write

Basically, I will summarize the 23 patterns of GoF. If there are other useful design patterns, I will also summarize them.

What you want to write (high possibility of correction)

Since I will decide while writing, there is a high possibility that I will correct it here, but in addition to what I learned normally, there are also things like "when should I use it" and "when should I not use it?" I want to write. Also, I will basically show it in Java language, but I would like to write something like how to write PHP (because I write PHP in business).

Design pattern summary

--Overview (I will write about this while learning) ――What is a design pattern in the first place? ――What is good to learn design patterns? --Creational patterns - Abstract Factory - Builder - Prototype - Singleton --Structural patterns - Adapter - Bridge - Composite - Decorator - Facade - Flyweight - Proxy --Behavioral patterns - Chain of responsibility - Command - Interpreter - Iterator - Mediator - Memento - Observer - State - Strategy - Template Method - Visitor --Other patterns (is there?)

reference

[Introduction to Design Patterns Learned in Java Language](https://www.amazon.co.jp/%E5%A2%97%E8%A3%9C%E6%94%B9%E8%A8%82% E7% 89% 88Java% E8% A8% 80% E8% AA% 9E% E3% 81% A7% E5% AD% A6% E3% 81% B6% E3% 83% 87% E3% 82% B6% E3% 82% A4% E3% 83% B3% E3% 83% 91% E3% 82% BF% E3% 83% BC% E3% 83% B3% E5% 85% A5% E9% 96% 80-% E7% B5 % 90% E5% 9F% 8E-% E6% B5% A9 / dp / 4797327030 / ref = sr_1_1? Ie = UTF8 & qid = 1454743284 & sr = 8-1 & keywords = java% E8% A8% 80% E8% AA% 9E% E3% 81% A7% E5% AD% A6% E3% 81% B6% E3% 83% 87% E3% 82% B6% E3% 82% A4% E3% 83% B3% E3% 83% 91% E3% 82% BF% E3% 83% BC% E3% 83% B3% E5% 85% A5% E9% 96% 80) Design Pattern (TECH SCORE) Summary of GoF design patterns List of 23 GoF design patterns for utilizing in Java

Recommended Posts

Design patterns learned with Java & PHP (summary)
Summary of Prototype patterns introductory design patterns learned in Java language
Summary of Singleton patterns introductory design patterns learned in Java language
Summary of Chapter 2 of Introduction to Design Patterns Learned in Java Language
Chapter 4 Summary of Introduction to Design Patterns Learned in Java Language
Summary of Chapter 3 of Introduction to Design Patterns Learned in Java Language
Summary from the beginning to Chapter 1 of the introduction to design patterns learned in the Java language
Design patterns to enjoy with frequently used Java libraries --Builder patterns
Design patterns to enjoy with frequently used Java libraries --Adapter patterns
[Updated from time to time] Summary of design patterns in Java
GoF java design pattern rough summary
Design patterns to enjoy with frequently used Java libraries --Template Method patterns
Design patterns to enjoy with frequently used Java libraries --Facade pattern
Design patterns to enjoy with frequently used Java libraries --Abstract Factory pattern