News Feed
Jobs Feed
Sections




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

DevShed:
Introducing the Facade Pattern in PHP 5
January 16, 2007 @ 11:19:00

DevShed continues with their look at design patterns in PHP with the first part of a new series today discussing the Facade pattern as created in PHP 5.

In this case, you have a class that hides all the complexity required for serializing the mentioned objects, but there's also a group of classes that know nothing about the class that called them. As you can see, these classes are only responsible for performing the serialization/unserialization sequence on several objects and nothing else. Period.

The Facade pattern is best seen as an interface between the real meat of the application and the part that displays the results. It provides a buffer between the two to make it easier for the output class to call. They create a basic implementation of this and show how to use compression and provide all the code you'll need to get it working.

0 comments voice your opinion now!
facade pattern php5 tutorial http cmpresssion facade pattern php5 tutorial http cmpresssion


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Updated Tutorial for Zend Framework 1.5

SitePoint PHP Blog: Introduction to Gearman - Multitasking in PHP

PHP-Coding-Practices.com: How To Generate Monochromatic CSS Stylesheets Within Seconds Using PHP

Zend Developer Zone: The ZendCon Sessions Episode 22: PHP Extension Writing

Ryan Mauger's Blog: Keeping your html valid with Zend Framework, Tidy and Firebug


Community Events











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


support composer package opinion symfony2 install introduction hhvm podcast unittest overview facebook application hack code security language component release framework

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