Syndicate content

template system

Oct 29
0

An HTML-Friendly Template System using PHP’s Output Buffering

Thu, 10/29/2009 - 02:40 — julie

Template systems are an important component of today’s websites. Most of them are designed so that you have to include single splitted header and footer templates into every page. Let’s see whether we can create a template system that does not destroy the natural markup structure of the surrounding HTML at the top and the bottom of a web page.

Tutorial Details

  • Program: PHP
  • Difficulty: intermediate
  • Source : Download

The Problem

If you want to use a template engine you can choose from many mature and feature rich solutions. Nevertheless there is one thing most of them have in common: It’s their basic concept of including one template into another.

(more...)

Copyright 2009. E-mail Me
Auto Spare Parts