Overview
The course will cover the design patterns with particular emphasis on patterns used in PHP.
Requirements
Knowledge of PHP at the basic level or higher.
Course Outline
Introduction to Design Patterns
- What is a design pattern
- Elements of pattern
- Advantages and disadvantages of using patterns
GoF Design Patterns
Patterns creative
- Builder
- Factory (Abstract Factory, Factory Method)
- Prototype
- Singleton
Structural patterns
- Delegator
- Interface
- Facade
- Composite
- Immutable
- Adapter
- Decorator
- Proxy
Behavioral patterns
- Command
- Template method
- Observer
- Chain of responsibility (oraz Intercepting Filter)
- Observer (2 version)
- Strategy
Patterns of Enterprise Application Architecture Web
- MVC – Model View Controller
- HMVC, MVP
- Inversion of Control
- Dependency Injection Container
- Active Record
- The concept of entity and Repositories
- Decomposition of the system
- Examples of component-based Symfony 2 and Zend Framework 2