你的位置:首页 > 软件开发 > ASP.net > Atitit.软件开发的几大规则,法则,与原则p821.doc

Atitit.软件开发的几大规则,法则,与原则p821.doc

发布时间:2015-08-23 19:00:17
Atitit.软件开发的几大规则,法则,与原则p821.doc 1. 设计模式六大原则21.1. 设计模式六大原则(1):单一职责原则21.2. 设计模式六大原则(2):里氏替换原则21.3. 设计模式六大原则(3):依赖倒置原则21.4. 设计模式 ...

Atitit.软件开发的几大规则,法则,与原则p821.doc

 

 

1. 设计模式六大原则2

1.1. 设计模式六大原则(1):单一职责原则2

1.2. 设计模式六大原则(2):里氏替换原则2

1.3. 设计模式六大原则(3):依赖倒置原则2

1.4. 设计模式六大原则(4):接口隔离原则2

1.5. 设计模式六大原则(5):迪米特法则2

1.6. 设计模式六大原则(6):开闭原则2

2. get='_blank'>面向对象的S.O.L.I.D原则2

2.1. Single Responsibility Principle (SRP)–职责单一原则3

2.2. Open/Closed Principle (OCP)–开闭原则3

2.3. Liskov substitution principle (LSP)–里氏代换原则3

2.4. Interface Segregation Principle (ISP)–接口隔离原则3

2.5. Dependency Inversion Principle(DIP)–依赖倒置原则3

3. Other原则3

3.1. Don’t Repeat Yourself(DRY)4

3.2. Keep It Simple, Stupid (KISS)4

3.3. Program to an interface, not an implementation4

3.4. Command-Query Separation (CQS)–命令-查询分离原则4

3.5. You Ain’t Gonna Need It(YAGNI)4

3.6. Common Closure Principle(CCP)–共同封闭原则4

3.7. Common Reuse Principle (CRP)–共同重用原则4

3.8. Hollywood Principle–好莱坞原则4

3.9. High Cohesion & Low/Loose coupling & –高内聚,低耦合5

3.10. Convention over Configuration(CoC)–惯例优于配置原则5

3.11. Separation of Concerns (SoC)–关注点分离5

3.12. Design by Contract (DbC)–契约式设计5

3.13. Acyclic Dependencies Principle (ADP)–无环依赖原则5

3.14. 伯斯塔尔法则  后向兼容性设计5

3.15. 软件,就像所有技术一样,具有天然的政治性。代码必然会反映作者的选择、偏见和期望。5

3.16. 首先为人类设计,其次为机器设计。5

4. 参考6

 

1. 设计模式六大原则

1.1. 设计模式六大原则(1):单一职责原则

1.2. 设计模式六大原则(2):里氏替换原则

1.3. 设计模式六大原则(3):依赖倒置原则

1.4. 设计模式六大原则(4):接口隔离原则

1.5. 设计模式六大原则(5):迪米特法则

最少知识原则”(Principle of Least Knowledge)

 

1.6. 设计模式六大原则(6):开闭原则

 

 

作者:: 老哇的爪子 Attilax 艾龙,  EMAIL:1466519819@qq.com

转载请注明来源: http://www.cnblogs.com/attilax/

 

 

2. 面向对象的S.O.L.I.D原则

一般来说这是面向对象的五大设计原则,但是,我觉得这些原则可适用于所有的软件开发。

2.1. Single Responsibility Principle (SRP)–职责单一原则

2.2. Open/Closed Principle (OCP)–开闭原则

2.3. Liskov substitution principle (LSP)–里氏代换原则

2.4. Interface Segregation Principle (ISP)–接口隔离原则

2.5. Dependency Inversion Principle(DIP)–依赖倒置原则

 

3. Other原则

5.合成/聚合复用原则(Composite/Aggregate Reuse Principle,CARP)

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:Atitit.软件开发的几大规则,法则,与原则p821.doc

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录