前言
思想
原則
做某件事或解決某個(gè)問(wèn)提或在某個(gè)領(lǐng)域里不能離開(kāi)的禁止性規(guī)定损姜。
模式
針對(duì)類(lèi)似問(wèn)題的通用解決指導(dǎo)方法据悔。
設(shè)計(jì)原則
GRASP
General Responsibility Assignment Software Pattern(principle) 中文版
- Controller
- Creator
- High cohesion
- Indirection
- Information expert
- Low coupling
- Polymorphism
- Protected variations
- Pure fabrication
Three-tier
[圖片上傳失敗...(image-bc8a1c-1519266678503)]
里氏替換原則
開(kāi)放封閉原則
策略和方法
- '策略'
- `方法'