Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (21) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2022-08-26 (21 days ago) | Not enough user ratings | Total: 82 This week: 4 | All time: 9,870 This week: 37 |
Version | License | PHP version | Categories | |||
solid-principles 1.0.0 | The PHP License | 5 | PHP 5, Design Patterns |
Description | Author | |||
This package provides good and bad examples to show the SOLID principles. Innovation Award
|
Files |
File | Role | Description | ||
---|---|---|---|---|
DependencyInversionPrinciple (2 files) | ||||
InterfaceSegregationPrinciple (2 directories) | ||||
LiskovSubstitutionPrinciple (3 files) | ||||
OpenClosedPrinciple (2 directories) | ||||
SingleResponsiblityPrinciple (2 directories) | ||||
README.md | Doc. | Documentation | ||
README_ID.md | Doc. | Documentation |
Files | / | DependencyInversionPrinciple |
File | Role | Description |
---|---|---|
DependencyInversionExample.php | Class | Class source |
DependencyInversionViolation.php | Class | Class source |
Files | / | InterfaceSegregationPrinciple | / | BadDesign |
File | Role | Description |
---|---|---|
InterfaceSegregationViolateExample.php | Class | Class source |
Files | / | InterfaceSegregationPrinciple | / | GoodDesign |
File | Role | Description |
---|---|---|
InterfaceSegregationExample.php | Class | Class source |
Files | / | LiskovSubstitutionPrinciple |
File | Role | Description |
---|---|---|
LiskobSubstituitionExample3.php | Class | Class source |
LiskovSubstitutionExample2.php | Class | Class source |
LiskovSubstitutonExample1.php | Class | Class source |
Files | / | OpenClosedPrinciple | / | BadDesign |
File | Role | Description |
---|---|---|
Circle.php | Class | Class source |
CostManager.php | Class | Class source |
Rectangle.php | Class | Class source |
Files | / | OpenClosedPrinciple | / | GoodDesign |
File | Role | Description |
---|---|---|
AreaInterface.php | Class | Class source |
Circle.php | Class | Class source |
CostManager.php | Class | Class source |
Rectangle.php | Class | Class source |
Files | / | SingleResponsiblityPrinciple |
File | Role | Description | ||
---|---|---|---|---|
BadDesign (1 file) | ||||
GoodDesign (3 files, 1 directory) |
Files | / | SingleResponsiblityPrinciple | / | BadDesign |
File | Role | Description |
---|---|---|
OrdersReport.php | Class | Class source |
Files | / | SingleResponsiblityPrinciple | / | GoodDesign |
File | Role | Description | ||
---|---|---|---|---|
Repositories (1 file) | ||||
HtmlOutput.php | Class | Class source | ||
OrdersOutPutInterface.php | Class | Class source | ||
OrdersReport.php | Class | Class source |
Files | / | SingleResponsiblityPrinciple | / | GoodDesign | / | Repositories |
File | Role | Description |
---|---|---|
OrdersRepository.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.