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

Jared White's Blog:
Willowgarden Highlight: Template Modes
Sep 13, 2006 @ 07:27:09

In this new blog post, Jared White spotlights a feature of the Willowgarden application platform - the template modes.

Unlike many Web frameworks, Willowgarden doesn't provide a different template for every action. All actions are provided via a single template file for the entire page. This works because of the concept of template modes.

He includes a quick example of these templates, creating two files to show the difference - one with the normal templating methodology and the other showing the difference Willowgarden's templates make (more concise and more flexible).

tagged: willowgarden framework application spotlight template modes willowgarden framework application spotlight template modes

Link: