What's templating in code ?

Card Puncher Data Processing

About

templating is the process of taking a document that will serve as a model to create other document.

The template document includes a language template that has:

  • placeholders to replace text part at runtime. For instance, an invoice would use the title, the address and other dynamic text as placeholder.
  • or more complex language structure such as loop to fill for instance a table with a list of the article shipped.

Engine

Template Engine

Name Language Comment
FreeMarker Java
Thymeleaf Java Natural template supported (ie the HTML template is HTML compliant)
Liquid - Shopify Ruby used by Auth0 similar to Jinja as it uses filter
Jinja Python Airflow, Ansible





Discover More
Bash Liste Des Attaques Ovh
Bash - Template

Template functionality with bash. with here_document See envsubst
HTML - Data Block

data block are a way to embed data in a html document. The well known is ld-json data block Inject json data in pre-rendered HTML Static pre-generated by the server (ie pre-rendering), the...
HTML - Template Element (Scripted HTML Fragment)

The template element is an HTML element that supports templating. It creates: fragments that can be cloned and/or inserted in the document via script (ie javascript). that can contain placeholder...
HTML emails - How to write them correctly

There is a lot of fuzz concerning how you should write the HTML for email. This article will give you on the good track and this is not as scary as it seems
Prosemirror Dom
How Rich Text editor in HTML are made (Principles and Demo)

How do you create a Rich Text editor in HTML, what are the well-known text editor and what are the principals. This article includes also a basic example where you can extend from to build your own
Java Conceptuel Diagram
Java - Template Engine

in Java Name Valid HTML Template Yes Spark template engine No No - Pebble No Handlebars,...
Javascript - Template

in javascript From a non-HTML to an HTML format HTML HTML as template engine with fragment on the server (Rest based)...
Card Puncher Data Processing
Localization (ie Language Translation / Internationalization / i18n )

Writing application in the locale language is called: localization internationalization internationalisation or simply i18n The process implies to detect the text and attribute that are not language...
React - Templating

Interpolate
Card Puncher Data Processing
XSLT - Templates

an some other tag, or whitespace. HTML outputs the HTML start tags, processes any templates that apply to children of the root, and then outputs the HTML end tags.



Share this page:
Follow us:
Task Runner