Recommend this page to a friend! |
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.
Classes of Ogbemudia Osayawe | > | Head First Design Patterns PHP | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
|
Groups | Applications | Files |
Groups |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Design Patterns | Implementations of well known design patterns | View top rated classes |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
src (2 directories) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src |
Files | / | 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 | / | 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 | / | src | / | Observer | / | Weather | / | Contract |
File | Role | Description |
---|---|---|
DisplayElement.php | Class | Class source |
Observer.php | Class | Class source |
Subject.php | Class | Class source |
Files | / | 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 |
Download all files: headfirstdesignpatte.tar.gz headfirstdesignpatte.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|