|
@@ -3,33 +3,37 @@ python-patterns
|
|
|
|
|
|
|
|
A collection of design patterns implemented (by other people) in python.
|
|
A collection of design patterns implemented (by other people) in python.
|
|
|
|
|
|
|
|
|
|
+When an implementation is added or modified, be sure to update this file and
|
|
|
|
|
+rerun `append_output.sh` to keep the output comments at the bottom up to date.
|
|
|
|
|
+
|
|
|
Current Patterns:
|
|
Current Patterns:
|
|
|
|
|
|
|
|
* 3-tier
|
|
* 3-tier
|
|
|
|
|
+* abstract_factory
|
|
|
|
|
+* adapter
|
|
|
|
|
+* borg
|
|
|
|
|
+* bridge
|
|
|
|
|
+* builder
|
|
|
|
|
+* catalog
|
|
|
|
|
+* chain
|
|
|
|
|
+* command
|
|
|
* composite
|
|
* composite
|
|
|
-* mvc
|
|
|
|
|
* decorator
|
|
* decorator
|
|
|
-* null
|
|
|
|
|
* facade
|
|
* facade
|
|
|
-* observer
|
|
|
|
|
-* abstract_factory
|
|
|
|
|
* factory_method
|
|
* factory_method
|
|
|
-* pool
|
|
|
|
|
-* adapter
|
|
|
|
|
* flyweight
|
|
* flyweight
|
|
|
|
|
+* graph_search
|
|
|
|
|
+* iterator
|
|
|
|
|
+* mediator
|
|
|
|
|
+* memento
|
|
|
|
|
+* mvc
|
|
|
|
|
+* null
|
|
|
|
|
+* observer
|
|
|
|
|
+* pool
|
|
|
* prototype
|
|
* prototype
|
|
|
-* borg
|
|
|
|
|
* proxy
|
|
* proxy
|
|
|
-* bridge
|
|
|
|
|
-* graph_search
|
|
|
|
|
|
|
+* publish_subscribe
|
|
|
* state
|
|
* state
|
|
|
-* builder
|
|
|
|
|
-* iterator
|
|
|
|
|
* strategy
|
|
* strategy
|
|
|
-* chain
|
|
|
|
|
-* mediator
|
|
|
|
|
* template
|
|
* template
|
|
|
-* command
|
|
|
|
|
-* memento
|
|
|
|
|
* visitor
|
|
* visitor
|
|
|
-* publish_subscribe
|
|
|