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:
A Beginner's Guide to Design Patterns
July 08, 2010 @ 08:47:55

On NETTUTS.com today there's a new tutorial that introduces a bit more advanced concept in the development process - design patterns.

Design patterns are optimized, reusable solutions to the programming problems that we encounter every day. A design pattern is not a class or a library that we can simply plug into our system; it's much more than that. It is a template that has to be implemented in the correct situation. It's not language-specific either. A good design pattern should be implementable in most - if not all - languages, depending on the capabilities of the language.

They introduce a few of the more widely used patterns including the strategy pattern, adapter pattern, factory methods, decorator and singleton patterns. Each comes with a bit of code showing how it would work and a "where would I use this?" section with a better example.

0 comments voice your opinion now!
designpattern beginner strategy factory singleton decorator adapter


blog comments powered by Disqus

Similar Posts

CatsWhoCode.com: Getting started with CouchDB: a beginner's guide

Jani Hartikainen's Blog: Integrating FCKeditor with Zend_Form

Erika Heidi: A beginners guide to Vagrant - getting your portable development environment, part 1

PHPMaster.com: Patterns for Flexible View Handling, Part 1 - Working with Composites

Stefan Mischook's Blog: Why Learn PHP and Why Books/Videos are Hard


Community Events

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


community api laravel interview list laravel5 video php7 language example release version voicesoftheelephpant series podcast unittest library introduction opinion framework

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