Chapter 4. Templating
Templates are the HTML layout within which a requested resource's content is displayed. Templates can themselves be dynamic and can have different elements that show different things, depending on various factors. The content of a template includes dynamic data, whereas the same template shows different content, depending on the resource requested. In this chapter, you will learn about templates and the elements that make dynamic content possible in templates. These are called template variables.