Login   Register  
PHP Classes
elePHPant
Icontem

Decorate Anything

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

  Author  
Picture of Fabian Schmengler
Name: Fabian Schmengler is available for providing paid consulting. Contact Fabian Schmengler .
Packages: 5 Browse all classes by Fabian Schmengler Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 30
All time rank: 116478 in Germany Germany
Week rank: 661 Up27 in Germany Germany Up
Innovation award
Innovation award
Nominee: 4x


  Detailed description   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 .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: 796 users
All time rank: 3749
Week users: 1 user
Week rank: 2051 Up
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
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  
There are not enough user ratings to display for this class.

  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.

  Related links  
Link Description
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
Accessible without login Plain text file readme.txt Doc. Short class description

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.