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

SitePoint PHP Blog: Fun with Array Interfaces

PHPMaster.com: Layer Supertype Pattern: Encapsulating Common Implementation in Multi-Tiered Systems

MT-Soft Blog: Creating a secure PHP production environment from Source Code

Community News: Packagist Latest Releases for 04.29.2014

NetTuts.com: Refactoring Legacy Code: Part 1 - The Golden Master


Community Events





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


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

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