PHP Design Patterns

I've just been reading up on Design Patterns in Java and I thought I'd look around to see what's out there on PHP Design patterns:

IBM Developer works has some good info on: The factory pattern, The singleton pattern, The observer pattern, The chain-of-command pattern, and The strategy pattern.
http://www-128.ibm.com/developerworks/library/os-php-designptrns/

Fluffy Cat PHP5 Design Patterns:
http://www.fluffycat.com/PHP-Design-Patterns/

Dev Shed has a an article on the factory Method:
http://www.devshed.com/c/a/PHP/Design-Patterns-in-PHP-Factory-Method-and...

dikini.net
http://dikini.net/php_design_patterns

Zend has an article on The singleton pattern and The strategy pattern
http://www.zend.com/zend/trick/tricks-app-patt-php.php




Here's an article on PHP Design Patterns at devarticles:
http://www.devarticles.com/c/a/PHP/Introduction-to-Design-Patterns-Using...

Casey Software's Blog has some info on the singleton pattern:
http://caseysoftware.com/blog/design-patterns-101-singleton
Casey Software's team are active contributors to and users of Open Source projects such as dotProject, Mantis, eclipse, phpBB, SugarCRM, and Drupal

Patterns Website

I found this the other week.
http://www.patternsforphp.com
It hasn't got a lot of content yet but it has got some nice simple examples on patterns like factory and singleton.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options