|
Mambo Template Tutorial
|
Other links at PHP > Tutorials > Content Management |
| 1. |
A Template Framework for Static Sites
|
|
|
Templates can bring order and structure to a web site. This article describes how templates can be used to control the page layout for a site that is currently composed of many pages of static HTML, using a popular template class and a new feature of PHP4.
|
| 2. |
How to use the PEAR ITX templating system
|
|
|
This tutorial will explain and demonstrate how to use the ITX templating system from the PEAR collection of useful classes for PHP. As we go along, itll show you some of the competitors, why the author didnt like them and why in the end he chooses to work with ITX in his own scripts. We will build a simple example script that will load and fill out the data out of a database. This script will use another PEAR component, a database abstraction layer. This tutorial assumes that you are familiar with PEARs DB abstraction layer.
|
| 3. |
DeveloperWorks: Getting to know Midgard
|
|
|
BMs DeveloperWorks website has a nice tutorial on Midgard. Written by David Seager, a software engineer at IBM, the article describes setting up a basic Midgard site. The article also does a good job of setting up a general context for what Midgard is and how it works.
|
| 4. |
Sheet Selector
|
|
|
This tutorial will show you how to build your own stylesheet switcher, before you begin you will only need to have a basic understanding of PHP and a minimal knowledge of stylesheets (though we wont be writing any CSS code here) and thats about it. sheetselector relies on PHP sessions to function, the user selected stylesheet name is stored in a session variable, and your stylesheets are kept in one directory, from there we build a dropdown menu for your users to select their stylesheet.
|
|
|