@@ -11,16 +11,16 @@ Current Patterns:
11
11
12
12
| Pattern | Description |
13
13
| :-------:| ----------- |
14
- | [ 3-tier] ( 3-tier.py ) | data<->business logic<->presentation separation (strict relationships) |
15
- | [ abstract_factory] ( abstract_factory.py ) | use a generic function with specific factories |
16
- | [ adapter] ( adapter.py ) | adapt one interface to another using a whitelist |
17
- | [ borg] ( borg.py ) | a singleton with shared-state among instances |
18
- | [ bridge] ( bridge.py ) | a client-provider middleman to soften interface changes |
19
- | [ builder] ( builder.py ) | call many little discrete methods rather than having a huge number of constructor parameters |
14
+ | [ 3-tier(三层架构) ] ( 3-tier.py ) | data<->business logic<->presentation separation (strict relationships) |
15
+ | [ abstract_factory(抽象工厂) ] ( abstract_factory.py ) | use a generic function with specific factories |
16
+ | [ adapter(适配器模式) ] ( adapter.py ) | adapt one interface to another using a whitelist |
17
+ | [ borg(单例模式) ] ( borg.py ) | a singleton with shared-state among instances |
18
+ | [ bridge(桥接模式) ] ( bridge.py ) | a client-provider middleman to soften interface changes |
19
+ | [ builder(建造者模式) ] ( builder.py ) | call many little discrete methods rather than having a huge number of constructor parameters |
20
20
| [ catalog] ( catalog.py ) | general methods will call different specialized methods based on construction parameter |
21
- | [ chain] ( chain.py ) | apply a chain of successive handlers to try and process the data |
22
- | [ chaining_method] ( chaining_method.py ) | continue callback next object method |
23
- | [ command] ( command.py ) | bundle a command and arguments to call later |
21
+ | [ chain(链模式) ] ( chain.py ) | apply a chain of successive handlers to try and process the data |
22
+ | [ chaining_method() ] ( chaining_method.py ) | continue callback next object method |
23
+ | [ command(命令模式) ] ( command.py ) | bundle a command and arguments to call later |
24
24
| [ composite] ( composite.py ) | encapsulate and provide access to a number of different objects |
25
25
| [ decorator] ( decorator.py ) | wrap functionality with other functionality in order to affect outputs |
26
26
| [ facade] ( facade.py ) | use one class as an API to a number of others |
0 commit comments