Study Design Patterns with PHP