Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 22 template-language Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
PHPTAL
PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
-
vtpl
Vtpl is a php template engine that ensures proper separations of concerns, the frontend logic is separated from presentation. The goal is to keep the html unchanged for better maintainability for both backend and frontend developers
-
Tang
Tang is a new template language library written in C++ as part of a YouTube series. (by Ghoti-io)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Miscommunication in our projects is costly. A single misunderstood User Story can result in 3 days of wasted development time. Additionally, when developers do not use the same programming language, it may be necessary to construct APIs to facilitate communication, which can also be expensive. It is important to consider why front-end developers may be hesitant to work with Twig and how this can lead to a disconnect between front-end and back-end development.
Nice point i'll look into it. Currently i use liquid for templating i through it was a good idea as it can provide function loops and more to generate your file!
Project mention: Ludic: New framework for Python with seamless Htmx support | news.ycombinator.com | 2024-03-21I agree and I don't fully understand the why of it.
I remember coding PL/SQL to emmit HTML in Oracle around 1999 or 2000 and using functions to code the various elements.
Thay got old and repetitive very quickly - for instqance, everytime I had to correct a spelling error, I had to recompile the code.
To get around it I used one or two tables to hold html snippets to decouple the business/backend logic from the frontend, and stopped using the PL/SQL functios completely.
My speed of developmet skyrocketed, and separating and abstracting the frontend from the backend made so much sense.
A few years later, I was doing web developemt with Python using the Zope framework (not many people know about it tiday, I think).
It uses a specialised serverside templating language called TAL (Template Attribute Language)[1] that basically builds the front end dynamically, and then you feed it data from the backend.
Very neat and allowed me to build reusable compoments as well as collections of a schema definition (basically a dict), html template(s) and the code to validate that the inpuy matched the schema and could be rendered.
Or something like that its been 2 employers and almost 20 years since i worked with tha :)
I did build a small php extension for Wordpress using a PHP implementation[2] of TAL a few years ago, and TAL still works like a charm :)
My point is that I still believe there is value in keeping python out of the HTMl-templating, and in keeping the front end logic apart from the backend logic.
There is something I am not understanding about the renewal of mixing HTML/GUI template with code, buy I haven't fully found it yet.
[1] https://en.m.wikipedia.org/wiki/Template_Attribute_Language
[2] I believe it was this one https://phptal.org/
If you prefer Jinja templates, there's a fork of pongo2 here: Goja, doesn't seem actively maintained but I used it recently and it works pretty well.
Project mention: Difftastic, a structural diff tool that understands syntax | news.ycombinator.com | 2024-03-21That may require a tree-sitter implementation for erb templated html; it may exist but if so it's less of a mainstream thing.
Some quick googling turns up https://github.com/tree-sitter/tree-sitter-embedded-template which may or may not meet your needs.
Location: Romania
Remote: Yes (worldwide)
Willing to relocate: No
Technologies: PHP, JavaScript, MySQL, PostgreSQL, SQLite, Docker, HTML, SCSS, Bootstrap, Linux
Linkedin: https://www.linkedin.com/in/givanz/
Email: [email protected]
Github: https://github.com/givanz
Experienced Full Stack Developer, developing Open Source Vvveb CMS https://www.vvveb.com and VvvebJS page builder.
Project mention: Ask HN: What would you show an interviewer if they asked you for code samples? | news.ycombinator.com | 2023-09-04A template language that I wrote for generating HTML. Meant to be included as a C++ library. https://github.com/Ghoti-io/Tang
Plenty of other C++ code of mine is on Github (such as a bunch of utility stuff, a thread pool, and a HTTP server that I'm writing from scratch), even though I would only call myself an intermediate C++ programmer. I just happen to like the language.
Or, if I had to throw other stuff into the mix, a fairly recent patch to Manim (Python) that got accepted (https://github.com/ManimCommunity/manim/pull/3155).
If I were really pressed, I would dig up a lot of my Drupal (PHP) stuff that I did years ago.
template-language related posts
-
How to integrate Component Architecture into Symfony?
-
JSON Data to HTML Table
-
Custom Statblocks
-
Laravel vs. Symfony: Which Framework is right for your project?
-
How to Send Emails in Symfony with Examples
-
PHP 8.2.0 RC1 available for testing
-
PHP MVC: the easy way
-
A note from our sponsor - InfluxDB
www.influxdata.com | 2 May 2024
Index
What are some of the best open-source template-language projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Twig | 8,018 |
2 | jinjasql | 799 |
3 | automad | 590 |
4 | ego | 577 |
5 | Twirl | 539 |
6 | liquid-rust | 430 |
7 | htl-spec | 276 |
8 | Slang | 232 |
9 | EHTML | 221 |
10 | rant | 183 |
11 | PHPTAL | 174 |
12 | gonja | 102 |
13 | mustache | 100 |
14 | closet | 62 |
15 | tree-sitter-embedded-template | 51 |
16 | ash-ra-template | 23 |
17 | acutis | 20 |
18 | vtpl | 16 |
19 | html-plus | 9 |
20 | tempren | 7 |
21 | parsem | 4 |
22 | Tang | 3 |
Sponsored