主要物件類中動態添加新的行為,當有連續性質的行為,做同時的處理使用些設計模式
2019-11-14
Decorator Pattern
- 15
- 0
- DesignPattern
- 2019-11-15
主要物件類中動態添加新的行為,當有連續性質的行為,做同時的處理使用些設計模式
Single Responsibility Principle 單一職責原則
Open Close Principle 開放擴充關閉修改原則
之前發表 simple factory,屬於create patten,而 strategy pattern,屬於operational pattern
工廠模式 : 依傳入參數(使用enum),建立物件Instance,最好上手模式
對載入的組件,取得組件內的資訊
持續整合- 軟體工程的一種手法,將develper的Project 整合至伺服器上,做build、test、deploy 工作