Login   Register  
PHP Classes

Composite Pattern: Implementation of the composite design pattern

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Bogdan T. Gersak
Name: Bogdan T. Gersak <e-mail contact>
Packages: 1 Browse all classes by Bogdan T. Gersak Browse all classes by
Country: Romania Romania - PHP jobs in Romania
Age: 29
All time rank: 268757 in Romania Romania
Week rank: 1298 Up32 in Romania Romania Up

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package presents an implementation of the composite design pattern.

It provides an abstract class that represents a train composition of wagons.

The package also comes with example concrete implementations of train and wagon classes.

  Classes of Bogdan T. Gersak  >  Composite Pattern  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Composite Pattern
Base name: composite-pattern
Description: Implementation of the composite design pattern
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 589 users
All time rank: 4693
Week users: 1 user
Week rank: 1808 Up
  Groups   Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes

  Files folder image Screenshots  
Composite pattern diagram
File Role Description
Accessible without login Image file composite_diagram.png Screen Composite pattern diagram

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file AbstractTrain.php Class Abstract train class
Accessible without login Plain text file index.php Example How to use it
Plain text file Train.php Class Train class
Plain text file Wagon.php Class Wagon class

Install with Composer Install with Composer - Download Download all files: composite-pattern.tar.gz composite-pattern.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.