Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.78 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.78 KB

habemus-papam

The oldest and popular official template, now offered as a testkit for benchmarking any template system. Template systems can be compared using the official standard input data. Covers all basic template concepts: placeholder, loop, helper functions, dictionaries and multi-lingual templates. You can benchmark and classify template systems by its comproved characteristics.


The Habemus Papam template kit is useful for benchmarking template systems, standardized tests, illustrate concepts, and explore template languages and template engines. Try to compare,

This project presents the oldest "textual formula", that illustrates, by a 400 years-old real case, the use of a template system. It can be used also by any algorithm promoted as being a "template processor", for testing or benchmarking tasks.

See Introduction at Wiki.

Input data

Using the OKFN datasets standards standards:

  • habemus-papam.csv full standard CSV dataset to be used as input in any template system, or to ve used as source for XML or JSON formats.
  • datapackage.json describes all columns of the CSV file and its soruces.

Template

For each popular template language (XSLT, Mustache, Django, etc.) the correspondent extension files.

  • XSLT template is the basic reference-template. All other must to generate the same output.
  • Mustache
  • PHP
  • ...

Run in testkit

Run the template system (template+input+engine) in your preferred language. See testkit folder.