Templating systems are generally composed of a Template Engine, a Content Resource and a Template Resource.
A templating system is composed of:
- A template engine: the primary processing element of the system;
- Content resource: any of various kinds of input data streams, such as from a relational database, XML files, JSON, LDAP directory, and other kinds of local or networked data;
- Template resource: web templates specified according to a template language; The template and content resources are processed and combined by the template engine to mass-produce web documents. For purposes of this article, web documents include any of various output formats for transmission over the web via HTTP, or another internet protocol.