Posts Tagged ‘observer’

The Observer Pattern: OOP Techniques in PHP

The observer pattern provides another way to maintain loose coupling within your code. It’s an extremely simple pattern and is implemented similarly across languages. There are two parts: the observer and the observable object. Let’s address them both starting with the observer.

Read More ...