:: Table of Contents ::
 
Chapter 7: Themes and Layouts

Warning: Deprecated

NOTE
The Theme and Layout systems have been removed and replaced with the GUI Manager sytem. The GUI Manager follows many of the same patterns as the theme and layout system. Please read the section on the GUI Manager.
7.1 Introduction
:: The Problem ::

If any combination of the above fits with your situation, it could aid you to take advantage of Harmoni's Theme and Layout system to handle the graphical look and feel of your application.

:: The Solution - A Theme and Layout Engine ::

There are many and varied Theme and Layout Engines available for use by PHP applications. Smarty and PHP::HTMLTemplate are two popular ones. What all Theme/Layout/Template Engines do is to provide an abstraction layer between your application code and the HTML that is sent to the display (browser).

The advantage of Harmoni's Theme and Layout system over the others we've seen is that our system provides for dynamic user selection and modification the theme as well as allowing themes to describe and validate their own arbitrary settings. Additionally, the separation of Themes and Layouts in Harmoni allows for the instant re-use of themes across applications with differing layout needs.

Theme
A set of styles, div tags, tables, images, and/or other elements that define the colors and appearance of a page.
Layout
A set of styles, div tags, and/or tables that define where on the page elements will appear.
7.2 Subchapter: Layout System

This section is a subchapter. Below is its table of contents:

7.2 Layout System
7.2.1 Basic Usage
7.3 Subchapter: Themes

This section is a subchapter. Below is its table of contents:

7.3 Themes
Version: $$