News Feed
Sections




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

DotNetButchering:
Design Patterns you use without knowing them
October 02, 2008 @ 10:28:00

From the DotNetButchering blog there's a recent post looking at design patterns, more specifically ones you might be using and you don't even know it.

Rise your hands if time ago (or even now) you stood literally in trance listening to your friends or colleagues talking about design patterns. [...] Anyway I felt better (and also my ego did) when I found those Design Patterns were no more than ways to solve common programming problems, and as I was programming since 2 or 3 years, I had already discovered some of them myself.

He points out two patterns - the strategy and factory patterns - and gives code examples (and UML diagrams) to show how they work.

0 comments voice your opinion now!
design pattern factory strategy uml example


blog comments powered by Disqus

Similar Posts

C7Y: Late Static Binding: a practical example

MySQL Performance Blog: Integers in PHP, running with scissors, and portability

DevShed: Controlling Online Forms with Builder Objects in PHP 5 (Part 2)

Mike\'s Blog: s/fluent/decorated

Padraic Brady's Blog: Zend Framework Blog App Tutorial - Addendum #2: Revised Design, Date Helper


Community Events





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


series update community library opinion security introduction voicesoftheelephpant release tool symfony interview application framework language podcast package laravel composer version

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