News Feed
Sections




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

Zend Developer Zone:
My Favorite Design Patterns
April 25, 2011 @ 10:38:13

On the Zend Developer Zone there's a new article from Keith Casey where he talks about some of his favorite design patterns he's come across in his time as a developer - adapter, facade and decorator.

Within the Design Patterns world, there are four main categories: Architectural, Structural, Creational, and Behavioral. Architectural patterns describe the system as a whole, Structural patterns describe the relationships between objects, Creational handle creating objects, and finally Behavioral describe the communication patterns between objects. Each of the categories is worth discussion on its own, but in this case we'll stick to the Structural patterns of Adapter, Facade, and Decorator.

He describes each of the patterns (no code in this one, just descriptions) and for each mentions some of the tools that the Zend Framework has to offer that match up. For example, the Adapter pattern is used in quite a few places in the framework including in the Zend_Db component for the connection types to different databases.

0 comments voice your opinion now!
designpattern zendframework adapter facade decorator


blog comments powered by Disqus

Similar Posts

Matthew Weier OPhinney's Blog: State of Zend Framework 2.0

Spindrop.us: sfZendPlugin (a Zend Framework plugin for Symfony)

Benjamin Eberlei's Blog: Using Symfony Dependency Injection with Zend_Application

Matt Stone's Blog: Using the Zend Framework ACL Library in Codeigniter

David Stockton's Blog: Changing ErrorController to work with AJAX


Community Events





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


symfony framework podcast tips conference voicesoftheelephpant laravel threedevsandamaybe zendserver deployment api code series language interview community list introduction bugfix release

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