ผลต่างระหว่างรุ่นของ "Prg2/design patterns 2"
ไปยังการนำทาง
ไปยังการค้นหา
Jittat (คุย | มีส่วนร่วม) (สร้างหน้าด้วย ": ''This is part of Programming 2 2563'' == Basic information == * [https://en.wikipedia.org/wiki/Software_design_pattern Design patterns (wikipedi...") |
Jittat (คุย | มีส่วนร่วม) |
||
(ไม่แสดง 3 รุ่นระหว่างกลางโดยผู้ใช้คนเดียวกัน) | |||
แถว 8: | แถว 8: | ||
* Patterns covered this week | * Patterns covered this week | ||
** Creational patterns | ** Creational patterns | ||
− | *** Factory Method | + | *** Factory Method: [https://en.wikipedia.org/wiki/Factory_method_pattern wikipedia], [https://refactoring.guru/design-patterns/factory-method refactoring guru] |
− | *** Abstract Factory | + | *** Abstract Factory: [https://en.wikipedia.org/wiki/Abstract_factory_pattern wikipedia], [https://refactoring.guru/design-patterns/abstract-factory refactoring guru] |
** Structural patterns | ** Structural patterns | ||
− | *** Bridge | + | *** Bridge: [https://en.wikipedia.org/wiki/Bridge_pattern wikipedia], [https://refactoring.guru/design-patterns/bridge refactoring guru] |
− | *** Adapter | + | *** Adapter: [https://en.wikipedia.org/wiki/Adapter_pattern wikipedia], [https://refactoring.guru/design-patterns/adapter refactoring guru] |
− | *** Facade | + | *** Facade: [https://en.wikipedia.org/wiki/Facade_pattern wikipedia], [https://refactoring.guru/design-patterns/facade refactoring guru] |
− | *** Composite | + | *** Composite: [https://en.wikipedia.org/wiki/Composite_pattern wikipedia], [https://refactoring.guru/design-patterns/composite refactoring guru] |
− | *** Decorator | + | *** Decorator: [https://en.wikipedia.org/wiki/Decorator_pattern wikipedia], [https://refactoring.guru/design-patterns/decorator refactoring guru] |
** Behavioral patterns | ** Behavioral patterns | ||
− | *** Template Method | + | *** Template Method: [https://en.wikipedia.org/wiki/Template_method_pattern wikipedia], [https://refactoring.guru/design-patterns/template-method refactoring guru] |
− | *** Strategy | + | *** Strategy: [https://en.wikipedia.org/wiki/Strategy_pattern wikipedia], [https://refactoring.guru/design-patterns/strategy refactoring guru] |
− | *** Chain of Responsibility | + | *** Chain of Responsibility: [https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern wikipedia], [https://refactoring.guru/design-patterns/chain-of-responsibility refactoring guru] |
− | *** Visitor | + | *** <del>Visitor: [https://en.wikipedia.org/wiki/Visitor_pattern wikipedia], [https://refactoring.guru/design-patterns/visitor refactoring guru]</del> |
+ | **** Visitor pattern is used mostly in static type languages. It is very unpopular in Python as it does not add much values and it is fairly complex to implement. | ||
== Clips == | == Clips == | ||
* Design Patterns Part 4: [https://www.youtube.com/watch?v=tKEXkXO-jaE youtube] | * Design Patterns Part 4: [https://www.youtube.com/watch?v=tKEXkXO-jaE youtube] | ||
− | * Design Patterns Part 5: | + | * Design Patterns Part 5: [https://www.youtube.com/watch?v=y53HoNuA7jc youtube] |
* Design Patterns Part 6: | * Design Patterns Part 6: | ||
+ | |||
+ | == Codes == |
รุ่นแก้ไขปัจจุบันเมื่อ 01:48, 23 มีนาคม 2564
- This is part of Programming 2 2563
Basic information
- Patterns covered this week
- Creational patterns
- Factory Method: wikipedia, refactoring guru
- Abstract Factory: wikipedia, refactoring guru
- Structural patterns
- Bridge: wikipedia, refactoring guru
- Adapter: wikipedia, refactoring guru
- Facade: wikipedia, refactoring guru
- Composite: wikipedia, refactoring guru
- Decorator: wikipedia, refactoring guru
- Behavioral patterns
- Template Method: wikipedia, refactoring guru
- Strategy: wikipedia, refactoring guru
- Chain of Responsibility: wikipedia, refactoring guru
Visitor: wikipedia, refactoring guru- Visitor pattern is used mostly in static type languages. It is very unpopular in Python as it does not add much values and it is fairly complex to implement.
- Creational patterns