2017 © Pedro Peláez
 

library design-patterns

code design patterns PHP

image

jpher/design-patterns

code design patterns PHP

  • Sunday, January 22, 2017
  • by jpher
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 22 Versions
  • 0 % Grown

The README.md

设计模式

资源列表

六大原则

  • 单一职责原则:即一个类只负责一项职责
  • 里氏替换原则:超类(父类)出现的地方,派生类(子类)都可以出现
  • 依赖倒置原则:抽象不应该依赖细节;细节应该依赖抽象
  • 接口隔离原则: 使用多个接口,而不是对一个接口编程,去依赖降低耦合
  • 迪米特法则:一个对象应该对其他对象保持最少的了解
  • 开闭原则:对扩展开放,对修改关闭

总结: 核心:高内聚松耦合(单一职责),外部依赖,实体对抽象编程,抽象就是分层, (*1)

模式类型

The Versions

22/01 2017

dev-master

9999999-dev https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

22/01 2017

dev-dev

dev-dev https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

22/01 2017

0.2.8

0.2.8.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

22/01 2017

0.2.7

0.2.7.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

20/01 2017

0.2.6

0.2.6.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

19/01 2017

0.2.5

0.2.5.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

19/01 2017

0.2.4

0.2.4.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

19/01 2017

0.2.3

0.2.3.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

19/01 2017

0.2.2

0.2.2.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

12/01 2017

0.2.1

0.2.1.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

 

by Avatar jpher

design patterns php

09/01 2017

0.2.0

0.2.0.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

09/01 2017

0.1.4

0.1.4.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

07/01 2017

0.1.3

0.1.3.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

07/01 2017

0.1.2

0.1.2.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

07/01 2017

0.1.1

0.1.1.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

01/01 2017

0.1.0

0.1.0.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

01/01 2017

0.0.6

0.0.6.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

01/01 2017

0.0.5

0.0.5.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

01/01 2017

0.0.4

0.0.4.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

31/12 2016

0.0.3

0.0.3.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

24/12 2016

0.0.2

0.0.2.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php

16/12 2016

0.0.1

0.0.1.0 https://github.com/jpher/designPatterns

code design patterns PHP

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Avatar jpher

design patterns php