News Feed
Sections




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

DevShed:
Handling File Data with the Facade Pattern in PHP 5
January 23, 2007 @ 13:31:27

DevShed has posted the last installment of their series looking at the use of the Facade design pattern. This time, they're looking specifically at its use in handling file data for the items on the local file system.

I'm going to continue demonstrating the application of the facade pattern, this time by developing yet another illustrative application. It will take care of processing the contents of a selected data file in different ways.

They start from scratch with the development of the sample script - creating a simple class that implements the pattern, then modifying it to work as a string processor and finally pulling them together to read the data for a file and echo out the processed results.

2 comments voice your opinion now!
php5 facade design pattern handle file data process string php5 facade design pattern handle file data process string


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: A review of "Object-Oriented Programming with PHP5"

SitePoint PHP Blog: PHP UTF-8 0.1

IBM developerWorks: What's new in PHP V5.2, Part 5: Tracking file upload progress

Keith Casey's Blog: Book Review: PHP Design Patterns by Jason Sweat

Slashdot.org: Book Review - PHP 5 in Practice


Community Events





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


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

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