用Python实现的设计模式集合

jopen 10年前

python-patterns包含一组用Python实现的设计模式集合。已经实现的模式包括:

  • 3-tier
  • abstract_factory
  • adapter
  • borg
  • bridge
  • builder
  • catalog
  • chain
  • command
  • composite
  • decorator
  • facade
  • factory_method
  • flyweight
  • graph_search
  • iterator
  • mediator
  • memento
  • mvc
  • null
  • observer
  • pool
  • prototype
  • proxy
  • publish_subscribe
  • state
  • strategy
  • template
  • visitor

项目主页:http://www.open-open.com/lib/view/home/1394520187942