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

DevShed:
Handling Static Data with PHP 5
Sep 11, 2007 @ 15:33:00

On DevShed, there's a new tutorial that talks about the other half of working with dynamic websites - working with the static content:

It's pretty common when using PHP to develop dynamic, object-oriented applications. Every so often, though, you need to work with static data. This article will explain how to work with static data and static properties, and show you how this ability can be useful in real-world situations.

They show how to create dynamic divs for your content, "factoring" them (creating them with a Factory design pattern) and an example of it all working together.

tagged: static data php5 tutorial div html factory designpattern static data php5 tutorial div html factory designpattern

Link: