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:
Working with CSS Styles and the Stage Pattern in PHP 5
April 25, 2007 @ 13:03:00

In the second part of their look at the Stage design pattern today, DevShed moves up from the previous article to implement a more "real world" example of the Stage pattern in action.

Essentially, what I plan to demonstrate here is how this pattern can be used to build different versions of a given web document on the fly, either for display on a typical computer monitor, or for printing.

This involves the creation of a class to define the styles for both sides - print and screen - and a class that will figure out which of these needs to be applied.

0 comments voice your opinion now!
designpattern stage css style print screen designpattern stage css style print screen


blog comments powered by Disqus

Similar Posts

Devshed: The Basics of Using the Prototype Pattern with PHP 5

Zend Developer Zone: PHP Abstract Episode 22: Screen Scraping

Chronosight Blog: Inline AJAX Calendar using PHP

True Hacker! Blog: Digg style clean URLs with PHP and Apache

Padraic Brady's Blog: ZF Blog App - Part 4: Design with Blueprint CSS & Zend_Layout


Community Events











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


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

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