list of most-frequently-used design patterns
2011-12-19 00:00
323 查看
FROM HEAD FIRST DESIGN PATTERNS
strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Decorator Pattern attaches additional responsibility to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
Factory Method defines an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to its subclasses.
Abstract Factory provides an interface for creating families of related or dependent objects without specifying their concrete classes.
Singleton Pattern
Command Pattern
Adapter Pattern
Facade Pattern
Template Method Pattern
Iterator Pattern
Composite Pattern
State Pattern
Proxy Pattern
strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Decorator Pattern attaches additional responsibility to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.
Factory Method defines an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to its subclasses.
Abstract Factory provides an interface for creating families of related or dependent objects without specifying their concrete classes.
Singleton Pattern
Command Pattern
Adapter Pattern
Facade Pattern
Template Method Pattern
Iterator Pattern
Composite Pattern
State Pattern
Proxy Pattern
相关文章推荐
- Ten most commonly used design patterns
- The Design Patterns Used in PetStore 1. Facade
- The Design Patterns Used in PetStore 2. Command
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)
- 25 Most Frequently Used Linux IPTables Rules Examples
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)(1)
- 【iOS Design Pattern】The most important design patterns you must know
- 25 Most Frequently Used Linux IPTables Rules Examples
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)(2)
- 8 Commonly Used Scalable System Design Patterns
- 50 Most Frequently Used UNIX / Linux Commands (With Examples)
- 《Head First Design Patterns》笔记八:外观模式(Facade Pattern)
- 用C#改写Head First Design Patterns--Adapter 适配器(原创)
- MapReduce Design Patterns(5.表连接))(十)
- Design rules and patterns (MVC)
- 分享:Scalable System Design Patterns