Git Product home page Git Product logo

mpdp-code's Introduction

mpdp-code

《精通Python设计模式》一书的示例代码

  • 使用工厂设计模式(工厂方法和抽象工厂)来初始化对象,并说明与直接实例花对象相比,使用工厂设计模式的优势

第二章, 建造者模式

建造多个相关对象构成的对象

第三章, 原型模式

第四章, 适配器模式

第五章, 修饰器模式

第六章, 外观模式

第七章, 享元模式

第八章, 模型-视图-控制器模式

第九章, 代理模式

第十章, 责任链模式

第十一章, 命令模式

第十二章, 解释器模式

第十三章,观察者模式

第十四章, 状态模式

第十五章, 策略模式

第十六章, 模板模式

mpdp-code's People

Contributors

kevinh0512 avatar kitelife avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.