News Feed
Sections




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

Diniki.net:
PHP Design Patterns
July 25, 2006 @ 06:08:07

Patterns in PHP are becoming more and more popular, and sites like this one are doing well to provide summaries of each with code examples to help clarify.

Following my petty wingeing about the design patterns in php on the web I have to bite the bullet and do something about it. So here it comes a collection of design pattern examples, some from the GOF book, some collected from around the net, some (maybe) I have discovered.

The intent of these pages is to show the shapes of the patterns not a fully fledged implementation. In real life probably a combination of patterns will be employed. Everyone has their own favourites following their political, religious and style differences.

He admits that the pages are a work in progress and aren't complete, but they're a start to share his studies with the world. His list of patterns so far includes:

with more to come. All of his examples under each pattern are written in PHP.

1 comment voice your opinion now!
design patterns listing control abstraction hooks facade observer design patterns listing control abstraction hooks facade observer


blog comments powered by Disqus

Similar Posts

Tobias Schlitt's Blog: Reading recommendation: PHP Design Patterns

Pádraic Brady's Blog: PFP II: Return of Patterns For PHP

DevShed: Using the Observer Design Pattern with Static Data in PHP 5

Ralph Schindler's Blog: Database Abstraction Layers Must Live!

DevShed: Object-Oriented Programming Through Design Patterns


Community Events

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


language symfony series interview project api part2 testing php7 introduction community framework podcast yii2 application opinion composer laravel example list

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