Builder pattern - best understanding
来源:互联网 发布:免费的婚恋软件 编辑:程序博客网 时间:2024/06/05 06:25
Suitable environment.
1.Creation of complex object and don’t want to know how it is assembled (need encapsulation of creation process)
2.For same object ,it have more than one representation for same construction.
E.g
House buyer(Client),Construction company(Director),worker
Why suitable for construction pattern?
1.Client tell construction company wants 2 windows house or Jeff House which have two window.—>2.For same object ,it have more than one construction representation.
2.Client don’t want to know how it is built.—–>1.encapsulation
PS.
GOF explain this pattern very well.
0 0
- Builder pattern - best understanding
- Builder Pattern
- Builder Pattern
- Builder Pattern
- Builder Pattern
- Builder Pattern
- Builder Pattern
- Builder Pattern
- builder pattern
- Design Pattern 1-builder
- [Design Pattern]:Builder
- design pattern : Builder
- 生成器模式(Builder Pattern)
- Delphi Design Pattern - Builder
- 生成器模式 Builder Pattern
- Design Pattern--Builder
- Design Pattern:Builder
- 构造模式(Builder Pattern)
- 出现( linker command failed with exit code 1)错误总结
- 互联网产品设计进阶笔记(6)理解交互设计
- 抽奖算法分析
- 用jquery操作属性和类名
- IIS7.5上的REST服务的Put操作发生HTTP Error 405.0 - Method Not Allowed 解决方法
- Builder pattern - best understanding
- js和jquery控制标签class,css
- 2012年5月SAT香港真题解析
- DATALIST正反向排序,带▲和▼提示的【转一】
- ecshop二次开发 结构分析和代码研究 呵呵
- 我的第一堂Java课 07/14 上午
- 写代码时各种注释 引起的致命问题
- 最简洁实用的tab切换,tab选项卡
- 难道我们可以不用Google? 你OUT了