9eFish - 带有 Design Pattern 标签的文章
1
臭虫

CodeProject: Bridge Design Pattern.

adminadmin 发表于 162 天, 11 小时, 21 分钟 之前
Friday, October 09, 2009 9:36:51 AM GMT Thursday, October 01, 2009 3:16:45 AM GMT
Download BridgeDesignPattern_Src - 67.51 KBBackground Again, my favorite place - Elizabeth's daycare center. In Elizabeth's daycare center, all teachers are very friendly and try to make friends with all the kids At first, it's very hard to build a relationship between a new kid and a new teacher since they have never met each other. In order to allow the teacher and the kid to communicate with each other, we somehow need to build a communication path to allow the teacher/director (anyone who wants to... (more)
类别: Foundation | 点击: 2 | 评论 | | 源: www.codeproject.com
标签: Bridge, Design Pattern
1
臭虫

CodeProject: Builder Design Pattern.

carolhaozicarolhaozi 发表于 175 天, 13 小时, 19 分钟 之前
Thursday, September 24, 2009 3:14:14 PM GMT Friday, September 18, 2009 1:18:57 AM GMT
Download BuilderDesignPattern_src - 56.81 KBBackground In Elizabeth's day care center, teacher will help the kids to build all kind of toys to develop the kid's creative skill. One of Elizabeth's favor activity is to make animals with play-dough. A set of mold is the tool that Elizabeth always use to create her favor cool animals. One mold tool set includes five part, such as Head, body,arm,leg and tail. Whenever Elizabeth wants to build a animal, she will use one set of each tools to make a head, ... (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: Builder Design Pattern, Design Pattern
1
臭虫

CodeProject: Visitor Design Pattern.

dotlivedotlive 发表于 183 天, 11 小时, 47 分钟 之前
Tuesday, September 15, 2009 1:57:25 AM GMT Thursday, September 10, 2009 2:51:17 AM GMT
Download VisitorDesignPattern_src - 51.55 KBBackground Again, my favorite place - Elizabeth's daycare center. From my previous article, I talked about how to use Strategy Pattern to develop a system for the doctor visiting. In that case, I only focused on the Doctor objects to illustrate how those dynamic actions will be impacted when the strategy object (different doctors) changes. In this article, I am going to focus on those visitable/Kid objects which are examined by the Doctors. On Elizab... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: Design Pattern, Visitor
1
臭虫

CodeProject: Generic Singleton Design Pattern.

carolhaozicarolhaozi 发表于 192 天, 12 小时, 23 分钟 之前
Sunday, September 06, 2009 11:24:50 AM GMT Tuesday, September 01, 2009 2:15:02 AM GMT
Download ShareCode - 12.58 KBIntroduction The article describe GenericSingleton Design Pattern, that base on  static constractor behavior.Background There are two types of class constructors in C# 'regular constructor' with or without arguments and 'static constructor' without arguments. Regular Constructor 1. In case the class doesn't write with any constructor, C# provides an implicit default constructor, a constructor with no argument. 2. Constructors can be overloaded 3. Constructors are call... (more)
类别: Foundation | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: Design Pattern, Generic Singleton
1
臭虫

Template Method Design Pattern :: BlackWasp Software Development

xgluxvxgluxv 发表于 227 天, 12 小时 之前
Thursday, July 30, 2009 2:41:29 AM GMT Tuesday, July 28, 2009 2:37:44 AM GMT
The template method pattern is a design pattern that allows a group of interchangeable, similarly structured, multi-step algorithms to be defined. Each algorithm follows the same series of actions but provides a different implementation of the steps. (more)
类别: Foundation | 点击: 1 | 评论 | | 源: www.blackwasp.co.uk
标签: Design Pattern, Template Method
1
臭虫

CodeProject: Observer Design Pattern in C#.

carolhaozicarolhaozi 发表于 241 天, 9 小时, 27 分钟 之前
Sunday, July 19, 2009 2:08:24 PM GMT Tuesday, July 14, 2009 5:10:58 AM GMT
codeproject Introduction  The Observer design pattern  is a relationship between objects so that when one changes its state, all the others are notified accordingly.  In other words it defines that an object must be able to notify other objects without making assumptions about what these objects are. Observer design pattern is quite useful when a  change to one object requires changing others but, you don't know how many objects need to be changed.Using Observer Design Pattern in Blog Subscriber... (more)
类别: Language | 点击: 2 | 评论 | | 源: www.codeproject.com
标签: C#, Design Pattern