News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Justin Carmony's Blog: PHP Design - Biggest Database Oversights

Developer Drive: Building a PHP Ad Tracker: Data Object Design and Coding

International PHP Magazine: Poll Question: The Biggest Advantage of PHP 5 is?

DevShed: Creating a MySQL Abstraction Layer with Bridge Classes in PHP 5

Smashing Magazine: Upcoming Conferences and Events for Designers and Developers in 2011


Community Events











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


component unittest database security hack introduction package facebook application hhvm symfony2 composer podcast example framework release project install language performance

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