Examples of Design Patterns in PHP