Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 192 | All time: 8,567 This week: 455 |
Version | License | PHP version | Categories | |||
headfirstdesignpatte 1.0.0 | MIT/X Consortium ... | 5 | PHP 5, Design Patterns |
If you have read Head first design patterns book, you know the examples given are in Java, this repo contains the implementation in PHP 7.4.
Files (25) |
File | Role | Description | ||
---|---|---|---|---|
src (2 directories) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (25) | / | src |
Files (25) | / | src | / | Observer |
File | Role | Description | ||
---|---|---|---|---|
uml (1 file) | ||||
Weather (4 files, 1 directory) | ||||
Collection.php | Class | Class source | ||
doc.md | Data | Auxiliary data | ||
ObserverCollection.php | Class | Class source |
Files (25) | / | src | / | Observer | / | Weather |
File | Role | Description | ||
---|---|---|---|---|
Contract (3 files) | ||||
CurrentConditionDisplay.php | Class | Class source | ||
ForcastDisplay.php | Class | Class source | ||
Observable.php | Class | Class source | ||
WeatherData.php | Class | Class source |
Files (25) | / | src | / | Observer | / | Weather | / | Contract |
File | Role | Description |
---|---|---|
DisplayElement.php | Class | Class source |
Observer.php | Class | Class source |
Subject.php | Class | Class source |
Files (25) | / | src | / | Strategy |
Files (25) | / | src | / | Strategy | / | Duck |
File | Role | Description |
---|---|---|
Duck.php | Class | Class source |
FlyBehaviour.php | Class | Class source |
FlyNoWay.php | Class | Class source |
FlyRocketPowered.php | Class | Class source |
FlyWithWings.php | Class | Class source |
MallardDuck.php | Class | Class source |
ModelDuck.php | Class | Class source |
MuteQuack.php | Class | Class source |
Quack.php | Class | Class source |
QuackBehaviour.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
headfirstdesignpatte-2020-09-06.zip 408KB | |
headfirstdesignpatte-2020-09-06.tar.gz 403KB | |
Install with Composer |
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.