7 Template Engines
If you want to enjoy the whole, you must see the whole in the smallest.—Johann Wolfgang von Goethe
This chapter builds on the previous chapter and uses an Express application as the basis. Throughout this chapter, you’ll learn about different template engines and their respective advantages and disadvantages. All the template engines presented aren’t tied to use with Express, but they are often used in combination. However, we’ll also introduce you to stand-alone use with each framework. But before we dive into the topic of template engines, let’s take a quick look at what a template engine is and what it can do for you.
Simply put, a template is a static structure, usually an HTML document, with markers that are replaced by ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access