4 ms·
Every templating engine has to find a balance between doing what you need it to do, and letting you write business logic in the template itself. (Hey there, PHP
by bityard 2y ago
Every templating engine has to find a balance between doing what you need it to do, and letting you write business logic in the template itself. (Hey there, PHP.) That said, it's possible to write pathlogical templates in just about anything.
I've used Jinja a lot and always thought that it struck just about the right balance.
The docs are also way better than they used to be.
- IshKebab 2y agoThe answer is not to use a templating engine. TSX is the gold standard here IMO. Using it with https://fresh.deno.dev/ https://fresh.deno.dev/ is soooo much nicer than old school templates.
- murkt 2y agoI’ve been using Jinja2 for years and years, probably around a decade now. I don’t remember any other docs?
- the_mitsuhiko 2y agoYeah the docs never really changed all that much. They look more of less the same for 15 years or so. https://web.archive.org/web/20110727181325/http://jinja.pocoo.org/docs/ https://web.archive.org/web/20110727181325/http://jinja.poco...