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

DevShed: Creating AJAX Requester Objects with Abstract Factory Classes in PHP 5

DevShed: Centralizing the Validation of Data with the Observer Pattern in PHP

Community News: O'Reilly Offers PHP/SQL Certificate Series

Ask About PHP: PHP's alternative syntax and why it’s useful

Lukas Smith's Blog: Next MDB2 releases are around the corner


Community Events





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


code refactor install interview introduction release developer symfony2 api list podcast framework series testing opinion unittest community laravel language threedevsandamaybe

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