Archive for July 4th, 2006

Site News: Happy 4th July

To all our American readers out there, whether you’re really celebrating your independence, or just enjoying the day off work with a chance to play with pyrotechnics (like myself!), all of us here at PHPDeveloper.org wish you a Happy and Safe 4th of July.

Continue Reading · Add comment

Ivo Jansch’s Blog: Building proxies, decorators and delegates in PHP5

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

Continue Reading · Add comment