Pebble
javalin.github.io
Pebble | javalin.github.io | |
---|---|---|
6 | 27 | |
1,068 | 35 | |
0.2% | - | |
6.1 | 8.2 | |
2 months ago | 23 days ago | |
Java | HTML | |
BSD 3-clause "New" or "Revised" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pebble
- Web app in Java with Template Engine
-
Alternative to Thymeleaf for template engine?
Pebble, inspired by PHP’s Twig, similar to Python’s Jinja2, Ruby’s Liquid & NodeJS’s Nunjucks.
-
Options for high level front-end frameworks for Java developers
If it's a simple project and you're not affraid of writing html & css, tbh I would suggest freemarker or Pebble (https://github.com/PebbleTemplates/pebble). To make things dynamic, you can use a bit of javascript (even some Vue.js there and there).
-
What's the standard(if any) templating engine used in Spring?
When it comes to server-side template in Java, I also prefer Twig/Jinja/Liquid-like engines. In Java, there are two known engines of such type -JTwig and Pebble Templates. I have tried both and prefer the latter - Pebble. JTwig, btw, is no longer maintained.
-
Django 4.0 release candidate 1 released
Have you tried https://pebbletemplates.io/ for Java?
I haven't used it extensively, so I can't speak how it compares to Django in larger setups.
-
Pebble VS jte - a user suggested alternative
2 projects | 11 Sep 2021
javalin.github.io
- Java EE or Python Django?
- Javalin – a simple web framework for Java and Kotlin
- Spark – A web micro framework for Java and Kotlin
- Javalin: A simple web framework for Java and Kotlin
-
Show HN: Zero-dependency Java framework out of beta
The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa...
Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm.
I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/
Aside from that, I've also had good experiences with Dropwizard - which is way simpler than Spring Boot but at the same time uses a bunch of idiomatic packages (like Jetty, Jersey, Jackson, Logback and so on): https://www.dropwizard.io/en/stable/
I do wonder whether Minum would ever end up on the TechEmpower benchmarks and how it'd stack up against the other libraries/frameworks there, those benchmarks are pretty interesting.
- Java 21 Released
-
Helidon Níma is the first Java microservices framework based on virtual threads
Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations.
-
Full Time
Yes, and it was not that well designed to be honest... the successor is quite a lot nicer and it's called Javalin[1].
Same philosophy but just got things right where Spark, being the "first" (in the Java world, using the design inherited by Sinatra[2]) had a few design issues.
[1] https://javalin.io/
[2] https://sinatrarb.com/
- Show HN: Java REST without annotations, DI nor reactive streams
-
Is it just me, or does the Spring Framework lead to hard-to-maintain code and confusion with annotations?
I strongly advocate frameworks like https://javalin.io/ and Jooq (https://www.jooq.org/) if you are going to start a new project in Java.
What are some alternatives?
Thymeleaf - Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
ktfmt - A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions.
FreeMarker - Apache Freemarker
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
Handlebars.java - Logic-less and semantic Mustache templates with Java
minum - A minimalist Java web framework built from scratch
Apache Velocity - Mirror of Apache Velocity Engine
Jetty - Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
Mustache.java - Implementation of mustache.js for Java
jbang - Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.
Jtwig Project - Java modern template engine
undertow-examples