News for hackers. Stuff that matters.
Re:Ask HN: What is the best language/framework for getting t... by webmaven on Tuesday May 17, 2022 @03:05AM (#31406948)
My own favorite syntax(es) are TAL, TALES, and METAL (Template Attribute Language, TAL Expression Syntax, and Macro Expansion TAL). There are many implementations in various languages. The OG implementation was in Python as part of the Zope:

https://pagetemplates.readthedocs.io/en/latest/tal.html

These days I reach for Chameleon, another Python implementation:

https://chameleon.readthedocs.io/

I'm aware of at least five implementations for JS: template-tal, jstal, Distal, DomTal, ZPT-JS.

Re:Ask HN: What is the best language/framework for getting t... by bluefirebrand on Tuesday May 17, 2022 @10:53AM (#31411594)
Cool, thanks for the recommendations! I don't write a lot of python anymore but I'll check these out.