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)
Basically, I will summarize the 23 patterns of GoF. If there are other useful design patterns, I will also summarize them.
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).
--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?)
[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