設(shè)計(jì)模式是一套被反復(fù)使用的慕爬、多數(shù)人知曉的、經(jīng)過(guò)分類編目的屏积、代碼設(shè)計(jì)經(jīng)驗(yàn)的總結(jié)医窿。所學(xué)知識(shí)是從網(wǎng)絡(luò)上學(xué)習(xí)總結(jié)、設(shè)計(jì)到自己的理解炊林、以便加深印象
設(shè)計(jì)模式的類型
- 創(chuàng)建型模式 (判斷針對(duì)某個(gè)給定實(shí)例需要?jiǎng)?chuàng)建哪些對(duì)象時(shí)更加靈活)
- <a href="http://www.reibang.com/p/727b6c0ab006">工廠模式(Factory Pattern)</a>
- 抽象工廠模式(Abstract Factory Pattern)
- <a href="http://www.reibang.com/p/21f0cfe5ec2d">單例模式(Singleton Pattern)</a>
- 建造者模式(Builder Pattern)
- 原型模式(Prototype Pattern)
- 結(jié)構(gòu)型模式 (繼承的概念被用來(lái)組合接口和定義組合對(duì)象獲得新功能的方式)
- 適配器模式(Adapter Pattern)
- 橋接模式(Bridge Pattern)
- 過(guò)濾器模式(Filter姥卢、Criteria Pattern)
- 組合模式(Composite Pattern)
- 裝飾器模式(Decorator Pattern)
- 外觀模式(Facade Pattern)
- 享元模式(Flyweight Pattern)
- 行為型模式 (這些設(shè)計(jì)模式特別關(guān)注對(duì)象之間的通信。)
- 代理模式(Proxy Pattern)
- 責(zé)任鏈模式(Chain of Responsibility Pattern)
- 命令模式(Command Pattern)
- 解釋器模式(Interpreter Pattern)
- 迭代器模式(Iterator Pattern)
- 中介者模式(Mediator Pattern)
- 備忘錄模式(Memento Pattern)
- 觀察者模式(Observer Pattern)
- 狀態(tài)模式(State Pattern)
- 空對(duì)象模式(Null Object Pattern)
- 策略模式(Strategy Pattern)
- 模板模式(Template Pattern)
- 訪問(wèn)者模式(Visitor Pattern)
- JavaEE模式 (關(guān)注表示層渣聚。這些模式是由 Sun Java Center 鑒定的)
- MVC 模式(MVC Pattern)
- 業(yè)務(wù)代表模式(Business Delegate Pattern)
- 組合實(shí)體模式(Composite Entity Pattern)
- 數(shù)據(jù)訪問(wèn)對(duì)象模式(Data Access Object Pattern)
- 前端控制器模式(Front Controller Pattern)
- 攔截過(guò)濾器模式(Intercepting Filter Pattern)
- 服務(wù)定位器模式(Service Locator Pattern)
- 傳輸對(duì)象模式(Transfer Object Pattern)