News for hackers. Stuff that matters.
Re:How to build a website without frameworks and tons of lib... by tacker2000 on Tuesday July 04, 2023 @05:57PM (#36593039)
Jinja is a templating framework. You can use it with ansible for example, to replace config values or secrets in a configuration file for different servers, etc
Re:How to build a website without frameworks and tons of lib... by fullstackchris on Tuesday July 04, 2023 @06:03PM (#36593098)
after some research i now know that, but there was no clear link or description of what the heck was going on
Re:How to build a website without frameworks and tons of lib... by chefandy on Tuesday July 04, 2023 @06:39PM (#36593410)
Well, it is a decade-and-a-half old and fairly common in the Python web world. I don't think there's any shame in not knowing what it is if you haven't encountered it, but I also don't think there's any shame in assuming a developer audience reading about web development would at least know how to figure out what it is.
Re:How to build a website without frameworks and tons of lib... by ekianjo on Tuesday July 04, 2023 @07:02PM (#36593617)
Everyone on HN here has heard of Jinja...
Re:How to build a website without frameworks and tons of lib... by motogpjimbo on Tuesday July 04, 2023 @07:10PM (#36593674)
Apart from the person who has "fullstack" in his username.
Re:How to build a website without frameworks and tons of lib... by kiwijamo on Tuesday July 04, 2023 @07:55PM (#36594005)
I know of Jinja only because I have dabbled in some Ansible and Python. Had I not done either I probably would have been none the wiser too.
Re:How to build a website without frameworks and tons of lib... by cowsandmilk on Tuesday July 04, 2023 @07:10PM (#36593678)
When I look at the page, there’s a link on the word Jinja. And the next word is templates. Maybe you aren’t familiar with what a template is, but they are hardly obscure. Here’s a list of large websites that used a Perl-based templating engine a decade ago: http://www.masonhq.com/sites
Re:How to build a website without frameworks and tons of lib... by deadbunny on Tuesday July 04, 2023 @07:41PM (#36593892)
There is literally a link on the word Jinja to the Jinja docs...