XiaoKL

Architecture.SOLID-Principles

SOLID Principles

  

1. Single responsibility principle

 

 

2. Open Closed Principle

"What it means also is that we should always strive to write code that doesn’t have to be changed

every time the requirements change." Ref[12]

 

3. Liskov substitution principle

 

 

4. Interface Segregation Principle

 

 

5. Dependency Inversion Principle

 

5.1 Intent 

"High-level modules should not depend on low-level modules. Both should depend on abstractions.

Abstractions should not depend on details. Details should depend on abstractions." Ref[19]

 

 


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

 

12. Understanding SOLID Principles: Open Closed Principle

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

 

13. Interface Segregation Principle (ISP)

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

 

14. Interface Segregation Principle

and how to interpret it

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

 

15. The Open-Closed Principle

Extending Your Entities Correctly

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

 

16. Minimum Architecture for Dependency Injection💉: Practical Management of Dependency Definitions [To Read]

http://cfp.uikonf.com/proposals/92 

 

17. Maintainable Code and the Open-Closed Principle [To Read]

Abstraction and the Open-Closed Principle in JavaScript

https://medium.com/@severinperez/maintainable-code-and-the-open-closed-principle-b088c737262

 

18. The SOLID Principles for Android Developers

https://medium.com/kayvan-kaseb/the-solid-principles-for-android-developers-75fd4ca3ef84 

 

19. Dependency Inversion Principle

https://www.oodesign.com/dependency-inversion-principle.html 

 

20. A Solid Guide to SOLID Principles

https://www.baeldung.com/solid-principles

 

21. Composition vs. Inheritance: How to Choose? (AAAAA) [To Read]

https://www.thoughtworks.com/insights/blog/composition-vs-inheritance-how-choose

 

 


Others

Plug-in

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

posted on 2014-08-03 22:21  XiaoKL  阅读(241)  评论(0编辑  收藏  举报

导航