Skip to content
rewind927 edited this page May 15, 2015 · 57 revisions

Welcome to the DesignPattern wiki!

Purpose:

希望大家能夠透過實際動手寫幾個小例子,來了解 design pattern 的精神,並且透過讀書會的方式多多交流對 design pattern 的想法

How to use:

這個 repository 分成三個分支

  • master: 將 dev 的問題使用 design pattern 來改寫,提供大家參考用
  • practice: 用來讀書會練習的題目,其中有部分的 code 已經使用 design pattern 改寫,另外一部分,拿來當作練習; 適合初學者練習使用
  • dev: 還沒使用 design pattern 重構前的問題,讓大家先看到問題,進而從中發想該如何使用 design pattern 來重構; 如果覺得對自己的實力有信心,不妨試著從這個 branch 開始進行重構

Preparation:

1.IDE

兩者擇一,建議使用 IntelliJ

2.Clone this repository

git clone git@github.com:rewind927/DesignPattern.git

3.Import this project

UML tools

Book List:

Pattern List:

Creational

Structural

Behavioral

Metting List

Date Speaker Topic
2015/01/23 Ryan Strategy, Template method, Observer
2015/02/06 Ryan Chain of responsibility, Adapter
2015/02/12 Ethan Decorator, Memento
2015/03/12 Kami Bridge, Facade
2015/03/19 Ken, Zoey Singleton, Factory Method, Composite, Command
2015/04/02 Daniel Iterator, Visitor
2015/04/10 Ascii Flyweight, Abstract Factory, Simple Factory
2015/04/17 Karen Builder, State
2015/04/30 Wendy Mediator, Interpreter
2015/05/11 Jason Proxy, Prototype

Reference:

  1. Head First Design Patterns
  2. iluwatar java-design-patterns
Clone this wiki locally