Head First Design Patterns PHP: PHP version of the code examples of the book

Recommend this page to a friend!
  Info   View files Documentation   View files View files (25)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2020-09-06 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 176 All time: 8,572 This week: 201Up
Version License PHP version Categories
headfirstdesignpatte 1.0.0MIT/X Consortium ...5PHP 5, Design Patterns
Description Author

This package provides a PHP version of the code examples of the book Head first design patterns in PHP.

It is a port to PHP of the classes that are provided with the book that were originally in Java.

Currently it provides classes divided in groups for design patterns of the kinds: observer and strategy.

Innovation Award
PHP Programming Innovation award nominee
September 2020
Number 2
Head First Design Patterns is a very popular book that many developers have bought to learn about software design patterns. The code examples in the book are in Java.

This package provides a port of the code examples to PHP, so the design patterns taught in the book become easier to understand by PHP developers.

Manuel Lemos
Picture of Ogbemudia Osayawe
  Performance   Level  
Name: Ogbemudia Osayawe <contact>
Classes: 4 packages by
Country: Germany Germany
Age: 37
All time rank: 3239186 in Germany Germany
Week rank: 509 Up18 in Germany Germany Up
Innovation award
Innovation award
Nominee: 3x

 

Details

Head first design patterns in PHP

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 folder image Files  
File Role Description
Files folder imagesrc (2 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
Files folder imageObserver (3 files, 2 directories)
Files folder imageStrategy (1 file, 2 directories)

  Files folder image Files  /  src  /  Observer  
File Role Description
Files folder imageuml (1 file)
Files folder imageWeather (4 files, 1 directory)
  Plain text file Collection.php Class Class source
  Accessible without login Plain text file doc.md Data Auxiliary data
  Plain text file ObserverCollection.php Class Class source

  Files folder image Files  /  src  /  Observer  /  uml  
File Role Description
  Accessible without login Image file uml.png Data Auxiliary data

  Files folder image Files  /  src  /  Observer  /  Weather  
File Role Description
Files folder imageContract (3 files)
  Plain text file CurrentConditionDisplay.php Class Class source
  Plain text file ForcastDisplay.php Class Class source
  Plain text file Observable.php Class Class source
  Plain text file WeatherData.php Class Class source

  Files folder image Files  /  src  /  Observer  /  Weather  /  Contract  
File Role Description
  Plain text file DisplayElement.php Class Class source
  Plain text file Observer.php Class Class source
  Plain text file Subject.php Class Class source

  Files folder image Files  /  src  /  Strategy  
File Role Description
Files folder imageDuck (10 files)
Files folder imageuml (1 file)
  Accessible without login Plain text file doc.md Data Auxiliary data

  Files folder image Files  /  src  /  Strategy  /  Duck  
File Role Description
  Plain text file Duck.php Class Class source
  Plain text file FlyBehaviour.php Class Class source
  Plain text file FlyNoWay.php Class Class source
  Plain text file FlyRocketPowered.php Class Class source
  Plain text file FlyWithWings.php Class Class source
  Plain text file MallardDuck.php Class Class source
  Plain text file ModelDuck.php Class Class source
  Plain text file MuteQuack.php Class Class source
  Plain text file Quack.php Class Class source
  Plain text file QuackBehaviour.php Class Class source

  Files folder image Files  /  src  /  Strategy  /  uml  
File Role Description
  Accessible without login Image file uml.png Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:176
This week:0
All time:8,572
This week:201Up

For more information send a message to info at phpclasses dot org.