Skip to content

OOD Learning Notes 面向对象设计学习笔记(php demo)

Notifications You must be signed in to change notification settings

vita2333/LearningOOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

OOD learning notes (php demo)

Description | 中文说明

OOD Principles

abbreviation name
SRP Single Responsibility Principle
OCP Open Close Principle
LSP Liskov Substitution Principle
LoD Law of Demeter ( Least Knowledge Principle)
ISP Interface Segregation Principle
DIP Dependency Inversion Principle

Code Demo

including two parts:

  • 1.the definition of each principle
  • 2.example for the actual situation , BadXXX is the bad code , GoodXXX is the good code ( better than the former, not the best ).

Reference

About

OOD Learning Notes 面向对象设计学习笔记(php demo)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages