相对于外国人写的《大话设计模式》
来源:互联网 发布:韩国娱乐圈爆料知乎 编辑:程序博客网 时间:2024/04/29 01:11
It is not easy to remember all design patterns. Here are some stories about design patterns which might help!
Creational
- Singleton – Only one president in America
- Factory – A factory that produces human
- Abstract Factory – An abstract factory to produce CPUs
- Builder – Build a drink
- Prototype – Create a lot of similar objects
Structural
- Adapter – Adapt an orange to an apple
- Bridge – Bridge your remote control to a TV
- Composite -Build a tree
- Decorator – Decorate your girlfriend
- Facade – Perform a complex task using simple interface
- Flyweight – Create less and serve more
- Proxy – Use proxy to get do bad things
- MVC – Module, View and Controller in Strut 2
Behavioral
- Observer – Look for a job or observe a job?
- Observer – A simple Swing GUI example
- State – Work hard when life is hard
- Strategy – Will you get a ticket if speeding
- Template – Test a vehicle
- Visitor – Visit New York City
- Chain of responsibility – The responsibility chain
- Command – Use different command to control computer
- Interpreter – Interpret some context
- Iterator – Iterate a collection of objects
- Mediator – Mediate two colleagues
- Memento – Use memento to time travel
Design Patterns in Real Frameworks
- Design Patterns used in Java JDK
- Design Patterns Used in Eclipse Platform
- “Decipher Eclipse Architecture Series”
转自http://www.programcreek.com/java-design-patterns-in-stories/
- 相对于外国人写的《大话设计模式》
- 大话设计模式-剩下没写的所有模式
- 分享一个外国人写的微处理器设计书
- 外国人写的一个C#拨号
- 《大话设计模式》的阅读体会
- 大话设计模式的一点笔记
- 大话恼人的那些设计模式
- 大话设计模式的整体总结
- 阅读大话设计模式的笔记
- 大话设计模式之设计模式遵循的七大原则
- 大话设计模式之设计模式遵循的七大原则
- 大话设计模式之设计模式遵循的七大原则
- 大话设计模式之设计模式遵循的七大原则
- 大话设计模式之设计模式遵循的七大原则
- 大话设计模式之设计模式的六大原则
- 《大话设计模式》
- 大话设计模式 笔记
- 《大话设计模式》笔记
- 重载CDialog::PreCreateWindow是无效的
- uva 10862 - Connect the Cable Wires(规律)
- hdu1540Tunnel Warfare (线段树,单点更新)
- 【Maven实用技巧】01. 命令行新建一个Android项目,并使用Maven管理
- tarjan模板
- 相对于外国人写的《大话设计模式》
- poj3009_Curling 2.0
- hdu1950
- Java中的串行化
- android屏幕属性
- 黑马程序员--java技术--交通灯管理系统
- C++ 虚函数表解析
- 数据结构之希尔排序
- 去掉字符串第一个非空格字母 和最后一个非空格字母两端的空格