2011年6月23日

Design Pattern----09.Structural.Compsite.Pattern (Delphi Sample)

摘要: IntentCompose objects into tree structures to represent whole-part hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly. Recursive composition “Directories contain entries, each of which could be a directory.” 1-to-many “has a” up the “is a” hierarchy Pr 阅读全文

posted @ 2011-06-23 14:13 Tony Liu 阅读(604) 评论(0) 推荐(0) 编辑

Design Pattern----08.Structural.Bridge.Pattern (Delphi Sample)

摘要: IntentDecouple an abstraction from its implementation so that the two can vary independently. Publish interface in an inheritance hierarchy, and bury implementation in its own inheritance hierarchy. Beyond encapsulation, to insulation Problem“Hardening of the software arteries” has occurred by using 阅读全文

posted @ 2011-06-23 11:45 Tony Liu 阅读(717) 评论(0) 推荐(0) 编辑

导航