摘要:
Python版 https://github.com/faif/python-patterns/blob/master/behavioral/catalog.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ A class that uses 阅读全文
posted @ 2018-05-14 13:10
炼狱腾蛇
阅读(153)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/behavioral/chain.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ http://www.dabeaz.co 阅读全文
posted @ 2018-05-14 13:06
炼狱腾蛇
阅读(104)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/proxy.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *TL;DR80 Provides an 阅读全文
posted @ 2018-05-14 12:12
炼狱腾蛇
阅读(127)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/mvc.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *TL;DR80 Separates dat 阅读全文
posted @ 2018-05-14 12:08
炼狱腾蛇
阅读(154)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/front_controller.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ @author: 阅读全文
posted @ 2018-05-14 12:07
炼狱腾蛇
阅读(234)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/flyweight.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *References: htt 阅读全文
posted @ 2018-05-14 12:04
炼狱腾蛇
阅读(156)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/facade.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *What is this patte 阅读全文
posted @ 2018-05-14 12:02
炼狱腾蛇
阅读(107)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/decorator.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *What is this pa 阅读全文
posted @ 2018-05-14 11:59
炼狱腾蛇
阅读(107)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/composite.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *What is this pa 阅读全文
posted @ 2018-05-14 11:56
炼狱腾蛇
阅读(104)
评论(0)
推荐(0)
摘要:
Python版 https://github.com/faif/python-patterns/blob/master/structural/bridge.py #!/usr/bin/env python # -*- coding: utf-8 -*- """ *References: http:/ 阅读全文
posted @ 2018-05-14 11:52
炼狱腾蛇
阅读(91)
评论(0)
推荐(0)
浙公网安备 33010602011771号