Template engine: Difference between revisions

From Rosetta Code
Content added Content deleted
(Main definition)
 
m (Wikipedia citation added)
 
Line 1: Line 1:
A '''template processor''' (also known as a '''template engine''' or '''template parser''') is software designed to combine templates with a data model to produce result documents. The language that the templates are written in is known as a '''template language''' or '''templating language'''. For purposes of this article, a result document is any kind of formatted output, including documents, web pages, or source code (in source code generation), either in whole or in fragments. A template engine is ordinarily included as a part of a web template system or application framework, and may be used also as a preprocessor or filter.
A '''template processor''' (also known as a '''template engine''' or '''template parser''') is software designed to combine templates with a data model to produce result documents. The language that the templates are written in is known as a '''template language''' or '''templating language'''. For purposes of this article, a result document is any kind of formatted output, including documents, web pages, or source code (in source code generation), either in whole or in fragments. A template engine is ordinarily included as a part of a web template system or application framework, and may be used also as a preprocessor or filter.

==Citations==
* [[wp:Template_processor|Wikipedia:Template processor]]

Latest revision as of 17:53, 4 July 2021

A template processor (also known as a template engine or template parser) is software designed to combine templates with a data model to produce result documents. The language that the templates are written in is known as a template language or templating language. For purposes of this article, a result document is any kind of formatted output, including documents, web pages, or source code (in source code generation), either in whole or in fragments. A template engine is ordinarily included as a part of a web template system or application framework, and may be used also as a preprocessor or filter.

Citations