SaaSHub helps you find the best software and product alternatives Learn more →
Top 19 Java Template engine Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Thymeleaf
Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
xmlns:th="http://www.thymeleaf.org"> Validar Vouchers rel="stylesheet" href="/css/style.css"> class="container"> Validar Vouchers href="/">Página Inicial class="errors" th:if="${erros}" th:text="${erros}"> action="/vouchers/validate" method="post"> for="token1">Token 1: type="text" id="token1" name="token1" required> for="token2">Token 2: type="text" id="token2" name="token2" required> for="token3">Token 3: type="text" id="token3" name="token3" required> for="token4">Token 4: type="text" id="token4" name="token4" required> for="token5">Token 5: type="text" id="token5" name="token5" required> type="submit">Validar th:if="${message}" th:text="${message}">
-
manifold
Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
Yep. They demo great, but unless your use case is on the trivial end, you either find yourself making unreasonable compromises or, if the tool provides API escapes, you’re not only coding, but hacking against the tool.
In my view, mainstream languages like Java should offer static metaprogramming for library authors to make tooling like Rails possible and more approachable in IDEs.
The manifold project[1] has something like this for SQL, but it’s obviously providing its own static metaprogramming layer over Java. Shrug.
1. https://github.com/manifold-systems/manifold/blob/master/man...
-
-
-
-
-
Project mention: Java string interpolation feature was cancelled | news.ycombinator.com | 2024-06-20
-
-
Rocker
Java 8 optimized, memory efficient, speedy template engine producing statically typed, plain java objects (by fizzed)
-
-
-
-
-
Project mention: Java string interpolation feature was cancelled | news.ycombinator.com | 2024-06-20
/ Generated By:JavaCC: Do not edit this line. QueryParser.java */
I'm not claiming you're not going to see properties written out. I'm just saying that's not the majority of code you're going to see and to claim that idiomatic Java is all getters and setters is a bit far fetched.
Here is what I would consider modern idiomatic Java, immutable records and immutable classes that may expose some of their state:
https://github.com/jstachio/jstachio/blob/main/compiler/apt/...
-
rife2
Full-stack, no-declaration, framework to quickly and effortlessly create web applications with modern Java.
-
-
Josson & Jossons
A complete query and transformation language for JSON and a template engine to generate text output.
-
Java Template engine discussion
Java Template engine related posts
-
Building a Simple Voucher System for Small Businesses
-
Type-Safe Data Science
-
Spring Boot and Thymeleaf: Building Dynamic Web Applications
-
Implementing OAuth2 in Spring Boot: A Step-by-Step Guide
-
Automatically fix code vulnerabilities with AI
-
Show HN: Paranormal Metaprogramming with Java
-
Favor composition over inheritance for Java via True Delegation
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Jan 2025
Index
What are some of the best open-source Template engine projects in Java? This list will help you:
# | Project | Stars |
---|---|---|
1 | Blade | 5,854 |
2 | Thymeleaf | 2,835 |
3 | manifold | 2,451 |
4 | Handlebars.java | 1,482 |
5 | Pebble | 1,116 |
6 | FreeMarker | 991 |
7 | stringtemplate4 | 967 |
8 | jte | 888 |
9 | j2html | 770 |
10 | Rocker | 753 |
11 | oh-my-email | 721 |
12 | Apache Velocity | 381 |
13 | Kilo | 330 |
14 | microconfig | 305 |
15 | jstachio | 273 |
16 | rife2 | 230 |
17 | jamal | 59 |
18 | Josson & Jossons | 36 |
19 | JsonBatch | 13 |