Your Daily Source for Apache News and Information  
Breaking News Preferences Contribute Triggers Link Us Search About
PHPBuilder: A Template Framework for Static Sites
(Nov 26th, 12:53:40 )

"Templates can bring order and structure to a web site. In this article I describe 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."

"But first, let's set the scene. There are two distinct motivations for introducing templates:

"The first motivation is the most-often discussed. Here the situation is that a group of programmers produce PHP scripts to generate the content of a page, whilst a group of graphic designers produce HTML and images to control the appearance of the finished page. The idea is to allow both groups to work on independent sets of files. The programmers can work on files that contain only PHP, without concerning themselves with producing nicely presented HTML, whilst the graphic designers can work on the layout of the page using their favourite visual editor, without worrying about breaking any embedded code."

Complete Story

Related Stories:
Writing Input Filters for Apache 2.0(Nov 22, 2000)
Filtering I/O in Apache 2.0: Part 2(Oct 23, 2000)
Filtering I/O in Apache 2.0(Sep 20, 2000)
E-Commerce Solutions: Template-Driven Pages, Part 2(Sep 13, 2000)
PHP on Apache: The Definitive Installation Guide(Aug 09, 2000)
E-Commerce Solutions: Template-Driven Pages(Jun 28, 2000)
E-Commerce Solutions: An Apache Overview(May 31, 2000)
PHP 4.0 -- Dynamic Content for the World Wide Web Warrior(May 25, 2000)


Printed from Apache Today (https://apachetoday.com).
https://apachetoday.com/news_story.php3?ltsn=2000-11-26-001-01-OS-SW-PH

About Triggers Media Kit Security Triggers Login


All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux 2.4, Apache 1.3, and PHP 4
Copyright 2002 INT Media Group, Incorporated All Rights Reserved.
Legal Notices,  Licensing, Reprints, & Permissions,  Privacy Policy.
http://www.internet.com/