Building a site template with PHP

16

Author: JT Smith

Anonymous Reader writes, “MaximumLinux.org’s Adam Lang has posted part 1 of his series on how to create a simple dynamic content web site using PHP. The article is geared towards newbies and uses his personal site as an example of the code is action.” From the article: “Currently the site is designed in a ‘template’ format. The template separates the HTML table definition from the actual data being displayed. For the record, this is sort of what Cascading Style Sheets and XML do. The advantage of using XML is that your data is also accurately described and can be enhanced for other programs. The drawback is that cascading style sheets are not universal and can cause problems for some browsers. So, I took the approach of going with the format that is better for more people.”