GithubHelp home page GithubHelp logo

hhy5277 / design_patterns Goto Github PK

View Code? Open in Web Editor NEW

This project forked from me115/design_patterns

0.0 1.0 0.0 5 MB

图说设计模式

Home Page: http://design-patterns.readthedocs.org/zh_CN/latest/index.html#

License: Other

Makefile 5.15% C++ 65.25% Python 8.23% Batchfile 4.92% HTML 13.70% CSS 1.46% JavaScript 1.28%

design_patterns's Introduction

图说设计模式

本书使用图形和代码结合的方式来解析设计模式;

每个模式都有相应的对象结构图,同时为了展示对象间的交互细节, 我会用到时序图来介绍其如何运行;(在状态模式中, 还会用到状态图,这种图的使用对于理解状态的转换非常直观)

为了让大家能读懂UML图,在最前面会有一篇文章来介绍UML图形符号(看到UML类图和时序图);

在系统的学习设计模式之后,我们需要达到3个层次:

  1. 能在白纸上画出所有的模式结构和时序图;
  2. 能用代码实现;如果模式的代码都没有实现过,是用不出来的;即所谓,看得懂,不会用;
  3. 灵活应用到工作中的项目中;

目录结构说明

本书使用reStructuredText编写,你应该从index.rst开始;

根目录下的design_patterns.EAP为 EA的工程文件,里面包含里书中所有的类图和时序图示例;

code/:书中所有模式实现的示例源代码(工程使用C-Free组织,在gcc 4.6.2下编译通过);

以下三个目录为具体的模式讲解文章;

creational_patterns/ structural_patterns/ behavioral_patterns/

_static/:包含书中用到的所有图片;

_build/: 使用sphnix生成的html文档目录;

sphinx_rtd_theme/:为生成html文档所使用的主题;

在线浏览

http://design-patterns.readthedocs.org/zh_CN/latest/index.html

design_patterns's People

Contributors

me115 avatar oxwsds 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.