Posts Tagged ‘chain of command’

The Chain-of-Command Pattern: OOP Techniques in PHP

The chain-of-command pattern, like most others, assists with maintaining a loose coupling within your classes. By providing a series of classes that implement the ICommand interface and do a specific bit of processing, the developer doesn’t have to care which method to execute.

Read More ...