News Feed
Sections




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

NetTuts.com:
The Whens and Whys for PHP Design Patterns
November 07, 2012 @ 10:50:23

On NetTuts.com there's a recent post that tries to explain the "whens" and "whys" of design patterns - when using them is a good idea and why you might want to implement them as a part of your application.

There are plenty of articles that explain what design patterns are, and how to implement them; the web doesn't need yet another one of those articles! Instead, in this article, we will more discuss the when and why, rather than the which and how. I'll present different situations and use-cases for patterns, and will also provide short definitions to help those of you who are not so familiar with these specific patterns.

They've broken them up by topic instead of by the patterns themselves with sections like:

  • Finding the Data We Need
  • Reusability
  • Discover-ability
  • Singularity
  • Controlling Different Objects

There's also a few sections that look at other patterns that really only have a handful of uses - like the Decorator, State and Composite patterns.

0 comments voice your opinion now!
designpatterns tutorial explanation when why overview


blog comments powered by Disqus

Similar Posts

Community News: Latest PEAR Releases for 12.30.2013

DevShed: Using the spl_autoload() Functions to Build Loader Apps in PHP

Gonzalo Ayuso's Blog: Inject dependencies via PhpDoc

PHPBuilder.com: Boost PHP Site Performance with Zend Framework Data Caching

Debuggable Blog: Installing PHP5.3 via MacPorts


Community Events





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


conference framework composer artisanfiles laravel security series tool version release opinion interview list podcast introduction community library voicesoftheelephpant language symfony

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