News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Five more PHP design patterns
March 28, 2008 @ 08:49:35

The IBM developerWorks site has a new article posted that talks about design patterns, five of them in particular, that can help to "accelerate your PHP development" and make your code more maintainable down the line.

As an application developer, you can have a lifelong career without ever knowing what any of the patterns are called or how or when they're used. However, I've found that a good working knowledge of these patterns, as well as those introduced in the developerWorks article "Five common PHP design patterns" (see Resources), allows you to do two things: Enable high-bandwidth conversations and reduce painful lessons.

The patterns they talk about in this "five more" article of the series are:

  • Adapter Pattern
  • Iterator Pattern
  • Decorator Pattern
  • Delegate Pattern
  • State Pattern

Diagrams are provided for each of them, showing how they flow along with brief code examples (structures really) to show how that transitions over to actual use.

0 comments voice your opinion now!
design patterns tutorial adapter iterator decorator delegate state


blog comments powered by Disqus

Similar Posts

NetTuts.com: Laravel 4: A Start at a RESTful API

PHPBuilder.com: PHP with Apache on Windows? Piece of Cake!

Muhammad Hussein Fattahizadeh's Blog: Zend Config tree solution

Symfony-Zone: HelloWorld example with Flex and Symfony

DevShed: Performing Basic Tasks with MySQL 4.1 and Above, using mysqli with PHP 5


Community Events

Don't see your event here?
Let us know!


api introduction example community symfony2 extension laravel framework podcast opinion library php7 performance conference series xdebug voicesoftheelephpant version release interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework