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

PHPMaster.com: The MVC Pattern and PHP, Part 2

SitePoint PHP Blog: Asset Access Restriction Methods Block Unwanted Visitors

Community News: Packagist Latest Releases for 11.05.2012

Community News: Packagist Latest Releases for 07.31.2013

DevShed: Caching Dynamic Twitter Signature Images with PHP


Community Events





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


community library api package interview introduction bugfix unittest version language podcast zendserver framework update symfony laravel deployment series release opinion

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