Posted by FluffyCat on 11/29/05 05:45
New on November 28, 2005 for www.FluffyCat.com PHP 5 Design Pattern
Examples - the Visitor Pattern.
In the Visitor pattern, one class calls a function in another class
and passes an instance of itself. The called class has special
functions for each class that can call it.
With the visitor pattern, the calling class can have new operations
added without being changed itself.
http://www.fluffycat.com/SDCMSv2/PHP-Design-Patterns-Visitor/
[Back to original message]
|