Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In Chapter 2, we looked at some simple examples of using the Template Toolkit to generate web content. In this chapter, we will look at some more advanced techniques for building web sites and manipulating HTML page content. We will start out with a minimal setup that illustrates some useful techniques that can easily be adapted and applied to any web site. The basic system will be extended throughout the chapter as we add functionality to address more complex requirements and provide more advanced features.
The emphasis in this chapter will be on generating static HTML web content. The examples will be loosely based around the Template Toolkit web site, http://template-toolkit.org/. However, we're not going to be looking at content of any of the individual pages in any great detail, so the subject matter is largely immaterial.