fast framework Help

Templating

ff uses a concept called "DOM Templating" to wire back-end and front-end and apply logic to a html document.

DOM Templating is not another templating language. It uses regular html syntax and works with a set of specific html attributes added to the html elements.

<div data-ffFoo></div>

Arguments in DOM Templating attributes are passed as json objects.

<div data-ffFoo='{"arg1":"bar","arg2":{"foo":"bar"}}'></div>
28 Mai 2025