PHP Desing-patterns Resources