PHP5でデザインパターン
http://dikini.net/php_design_patterns
Javaのとは微妙に違うようだが。
- Accumulator passing
- Closure
- Control abstraction
- Coroutines (generator based)
- Dynamic dispatch
- Dynamic loading
- Facade
- Factory and Abstract Factory
- Fluent Interfaces/ Method chaining
- Generator (iterator protocol based)
- Generic function
- Hooks
- Interpreter
- Iterator (based on protocol method)
- Lazy evaluation
- Memoization
- Nested scope
- Observer
- Partial Evaluation
- Protocol method
- Proxy
- Singleton
- State
- Strategy Pattern
(日本語訳が欲しいですたい。)
↓こっちはGOF版
http://www.koshigoe.sakura.ne.jp/dokuwiki/doku.php?id=koshigoewiki:php:%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E3%83%91%E3%82%BF%E3%83%BC%E3%83%B3