Implementing a template based website


A common requirement when designing a site is the ability to update the layout and HTML of the site, without having to know any PHP (and therefore not deleting that code you spent hours writing). The other advantage of such as system is that PHP and HTML code can be kept entirely seperate, making for far more logical HTML and PHP coding. There are a number of ways to do this, and this tutorial covers just one method, with 2 storage options.

You might also like...


About the author

James Crowley

James Crowley United Kingdom

James first started this website when learning Visual Basic back in 1999 whilst studying his GCSEs. The site grew steadily over the years while being run as a hobby - to a regular monthly audien...

Interested in writing for us? Find out more.


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth