[Home Page][Web Design Philosophy[Previous][Next]
| My Web Design Philosphy | On Cascading Style Sheets |
| Cheetah Website | Python Website |
Note: what follows is a brief, technical discussion on how I designed this website.
There are many ways to design a website, from manually writing every piece of HTML code you see to totally depending on a website production system to put it all up for you.
The path I choose was to have a system that would take whatever I write and put it into a web page that would maintain the 'look and feel' of my entire website. In short, I choose what I call a 'template engine'.
A template engine is a system that separates the content of a webpage from its presentation. Different HTML pages are produced by combining different content with the same template.
The result is output that has a consistent look, due to the common template. I can change the look-and-feel of my website by just changing the template and regenerating all my webpages. I have done this a few times already to add or remove common features or modify the way some parts of my webpages look.
There are many template engines out there. The one I have choose is called Cheetah, which is a Python based template engine. Python is a object-oriented programming language that I love to use because it is a powerful language, yet simple enough for me to understand how to use it...};-)
I won't go into detail on how Cheetah uses Python to generate my web site but what basically happens is:
Doing it this way brings several benefits:
Cheetah is flexible and easy enough for me to use. Other template systems like Zope may be more powerful but for a simple, mostly static, web-site like mine, I find Cheetah to be more than adequate.
[Home Page][Web Design Philosophy[Previous][Next]
Copyright (C) 1997-2002 Soh Kam Yung
All Rights Reserved
Comments to author: firstspeaker.geo(at)yahoo.com
Generated: Thu, Apr 11, 2002