News Feed
Jobs Feed
Sections




News Archive
Ivo Jansch's Blog:
Building proxies, decorators and delegates in PHP5
July 03, 2006 @ 19:54:13

Ivo Jansch today gives an excellent look on proxies, decorators and delegates; three popular desigh patterns.

In PHP5, you can define methods in an object for intercepting calls to methods of an object and for intercepting access to object member variables. These methods (__get, __set and __call) enable the implementation of very generic proxies, decorators and delegators.

This is a great introduction to these three patterns and how to implement them in PHP

0 comments voice your opinion now!
design patterns proxies decorators delegates design patterns proxies decorators delegates


blog comments powered by Disqus

Similar Posts

PHPKitchen: PHP 5 Objects, Patterns, and Practice

Book Review: The Design of Sites: Patterns for Creating Winning Web Sites

C7Y: Reflections on Designing an IRC Bot in PHP, Part 1

PHPMaster.com: An Intro to Virtual Proxies, Part 2

Tobias Schlitt's Blog: Reading recommendation: PHP Design Patterns


Community Events











Don't see your event here?
Let us know!


functional framework testing introduction tool release unittest opinion zendframework2 code interview object application development phpunit language podcast community series example

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework