Login   Register  
PHP Classes

Decorate Anything: Implement the decorator 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 Fabian Schmengler
Name: Fabian Schmengler is available for providing paid consulting. Contact Fabian Schmengler .
Classes: 5 packages by
Country: Germany Germany
Age: 31
All time rank: 114575 in Germany Germany
Week rank: 765 Up34 in Germany Germany Up
Innovation award
Innovation award
Nominee: 4x

  Detailed description   Download Download .zip .tar.gz  
This class implement the decorator design patterns.

It implements a base abstract class that should be extended by decorator classes that wrap the result of the wrapped class objects.

When the decorator classes accesses the base decorator functions or variables, the abstract decorator class redirects the access to the wrapped class objects.

  Classes of Fabian Schmengler  >  Decorate Anything  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Decorate Anything
Base name: decorate-anything
Description: Implement the decorator design pattern
Version: 1.0
PHP version: 5.2.6
License: BSD License
All time users: 845 users
All time rank: 3783
Week users: 0 users
Week rank: 1410 Equal
  Groups   Rate classes User ratings   Applications   Related pages   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

  Innovation Award  
PHP Programming Innovation award nominee
December 2009
Number 5

Prize: One book of choice by Packt
Decorator is a design pattern intended to change the outcome of programming component using another independent component.

This class provides a generic PHP implementation of the decorator design pattern allowing to wrap the functionality of any object with decorator classes without having to inherit from the wrapped object classes.

Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
Decorator Pattern
Original pattern explained in Wikipedia

  Files folder image Files  
File Role Description
Plain text file decorateanything.lib.php Aux. Include this file to use the package
Plain text file AbstractDecorator.php Class The AbstractDecorator class
Accessible without login Plain text file example.php Example "Hello World" example to demonstrate simple usage
Plain text file license.txt Lic. BSD License
Plain text file README Data Github README
Accessible without login Plain text file readme.txt Doc. Short class description

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