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

Jared White\'s Blog: Winning the PHP 5 Framework Wars

Jim Plush's Blog: Followup on rethinking Zend Models with DDD - Framework code included

Robert Peake\'s Blog: Design Patterns, Ajax, and Application Supremacy

Diniki.net: PHP Design Patterns

Reddit.com: PHP.net gets a new design. Opinions divided


Community Events





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


code language application series laravel wordpress threedevsandamaybe interview introduction community library configure api framework project release list podcast developer bugfix

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