Skip to content

Commit 65bd1c2

Browse files
committed
Update README.md
3-tier: 三层架构 abstract_factory:抽象工厂 adapter:适配器模式 borg:单例模式 bridge:桥接模式 builder:建造者模式 chain:链模式 command:命令模式 composite:组合模式 decorator:装饰模式 facade:外观模式 factory_method:工厂方法 flyweight:享元模式 graph_search:图搜索模式 iterator:迭代器模式 mediator:中介模式 memento:备忘录模式 mvc:mvc模式 null:空模式 observer:观察者模式 pool:连接池模式 prototype:原型模式 proxy:代理模式 publish_subscribe:发布/订阅模式 state:状态模式 strategy:策略模式 template:模板方法模式 visitor:访问者模式
1 parent 6993592 commit 65bd1c2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ Current Patterns:
1111

1212
| Pattern | Description |
1313
|:-------:| ----------- |
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 |
2020
| [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 |
2424
| [composite](composite.py) | encapsulate and provide access to a number of different objects |
2525
| [decorator](decorator.py) | wrap functionality with other functionality in order to affect outputs |
2626
| [facade](facade.py) | use one class as an API to a number of others |

0 commit comments

Comments
 (0)