Intro & Principles
pattern คืออะไร, SOLID, composition over inheritance และการอ่าน UML เริ่ม →
Intro & Principles
pattern คืออะไร, SOLID, composition over inheritance และการอ่าน UML เริ่ม →
Creational Patterns
Singleton, Factory Method, Abstract Factory, Builder, Prototype สร้าง →
Structural Patterns
Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy ประกอบ →
Behavioral Patterns I
Strategy, Observer, Command, State, Template Method, Iterator ประสานงาน →
Behavioral Patterns II
Chain of Responsibility, Mediator, Memento, Visitor, Interpreter เจาะลึก →
สี่ภาษา เทียบกันชัด ๆ
ตัวอย่างของทุก pattern มีให้ในภาษา TypeScript, Python, Go และ Rust ผ่านแท็บที่ sync กัน เลือกภาษาครั้งเดียวแล้วตามไปทุกที่
UML ที่อ่านเข้าใจ
แต่ละ pattern มี class diagram (Mermaid) แสดงโครงสร้าง รองรับธีมและอธิบายไปทีละขั้น
เน้น intent ไม่ใช่แค่ code
แต่ละ pattern ครอบคลุม intent, ปัญหาที่แก้, ข้อดีข้อเสีย และ pattern ที่เกี่ยวข้อง เพื่อให้รู้ว่าควร (และไม่ควร) ใช้เมื่อไร
สองภาษา + read mode
ภาษาอังกฤษและไทย, แบบทดสอบที่บันทึกความคืบหน้า และโหมดอ่านแบบไร้สิ่งรบกวน