Chinaunix首页 | 论坛 | 博客
  • 博客访问: 54716
  • 博文数量: 51
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 410
  • 用 户 组: 普通用户
  • 注册时间: 2018-08-26 01:30
文章分类

全部博文(51)

文章存档

2020年(2)

2018年(49)

我的朋友

发布时间:2018-08-29 04:00:36

原文地址:http://www.oodesign.com/command-pattern.htmlCommand Pattern“An object that contains a symbol, name or key that represents a list of commands, actions or keystrokes”. This is the definition of a macro, one that should be familiar to any computer user. From this idea the Command.........【阅读全文】

阅读(441) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:59:15

原文:http://www.oodesign.com/chain-of-responsibility-pattern.htmlChain of ResponsibilityMotivationIn writing an application of any kind, it often happens that the event generated by one object needs to be handled by another one. And, to make our work even harder, we also happen to.........【阅读全文】

阅读(404) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:58:11

文章地址:http://www.oodesign.com/prototype-pattern.htmlPrototype PatternMotivationToday’s programming is all about costs. Saving is a big issue when it comes to using computer resources, so programmers are doing their best to find ways of improving the performance When we talk about .........【阅读全文】

阅读(474) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:56:55

原文地址:http://www.oodesign.com/builder-pattern.htmlBuilder PatternMotivationThe more complex an application is the complexity of classes and objects used increases. Complex objects are made of parts produced by other objects that need special care when being built. An applicatio.........【阅读全文】

阅读(487) | 评论(0) | 转发(0)

发布时间:2018-08-29 03:55:26

原文地址:http://www.oodesign.com/abstract-factory-pattern.htmlAbstract FactoryMotivationModularization is a big issue in today's programming. Programmers all over the world are trying to avoid the idea of adding code to existing classes in order to make them support encapsulating .........【阅读全文】

阅读(394) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册