Wednesday, 14 March 2007
Article: Learn Mediator Classes in PHP 5 |
| |
|
| |
Alejandro Gervasio in the first article of a two part series introduces you to the Mediator classes in PHP. He says, in this two-part series he will show you how a mediator class can be defined, and how it can be put to work by employing examples.
He explains, implementing a pattern known as ‘mediator’ can make a synchronization between a group of PHP classes. When the mediator pattern is applied, there's a single class that implements the logic required to keep all the other classes synchronized with each other. These modifications introduced by one class will be reflected in the others and also these changes will be performed via the interface of the mediator class.
He explains the practical side of the topic under the following sections:
|
| |
|
Read the Post
|
| |
|
|
| |
|
|
| |
|