Architecture.SOLID-Principles

本文深入介绍了面向对象设计的五大基本原则:单一职责原则、开放封闭原则、里氏替换原则、接口隔离原则及依赖倒置原则,并提供了丰富的参考资料帮助理解。

SOLID Principles

 

 

 

 


Reference 

1. Single Responsibility

http://en.wikipedia.org/wiki/Single_responsibility_principle (ToRead)

2. Open/Closed

http://en.wikipedia.org/wiki/Open/closed_principle

3. Liskov Substitution

http://en.wikipedia.org/wiki/Liskov_substitution_principle  (ToRead)

4. Interface Segregation 

http://en.wikipedia.org/wiki/Interface_segregation_principle

5. Dependency Inversion

http://en.wikipedia.org/wiki/Dependency_inversion_principle

6. Solid Principle In Detail (AAAA+) (To Read)

https://www.codeproject.com/articles/1009577/solid-principle-in-detail 

7. S.O.L.I.D: The First 5 Principles of Object Oriented Design 

简单介绍S.O.L.I.D

8. The Principles of OOD (AAAA+) (To Read)

http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod

9. S is for Single Responsibility Principle

https://realm.io/news/donn-felker-solid-part-1/

10. Avoiding Interface Pollution with the Interface Segregation Principle (AAAA+)

The Benefits of Role Interfaces in SOLID Code

https://medium.com/@severinperez/avoiding-interface-pollution-with-the-interface-segregation-principle-5d3859c21013

11. Understanding SOLID Principles: Interface Segregation Principle (AAAA+)

https://codeburst.io/understanding-solid-principles-interface-segregation-principle-b2d57026cf6c

Understanding SOLID Principles: Open Closed Principle

https://codeburst.io/understanding-solid-principles-open-closed-principle-e2b588b6491f

12. Interface Segregation Principle (ISP)

https://www.oodesign.com/interface-segregation-principle.html

13. Interface Segregation Principle

and how to interpret it

https://hackernoon.com/interface-segregation-principle-bdf3f94f1d11

14. The Open-Closed Principle

Extending Your Entities Correctly

https://medium.com/swift2go/the-open-closed-principle-extending-your-entities-correctly-edf9d3898826

 

 

 

 

 

 


Others

Plug-in

http://en.wikipedia.org/wiki/Plug-in_(computing)

转载于:https://www.cnblogs.com/cwgk/p/3888979.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值