Apache Wicket
Thymeleaf
Apache Wicket | Thymeleaf | |
---|---|---|
8 | 21 | |
717 | 2,727 | |
0.6% | 0.6% | |
9.5 | 5.4 | |
8 days ago | about 2 months ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
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.
Apache Wicket
-
We're breaking up with JavaScript front ends
Sort of sounds like Apache Wicket (https://wicket.apache.org/). I used it for a few projects in the mid-late 2000s. I really liked it being server side and the concept of having object-oriented HTML (code paired with HTML snippets). I haven't had a need to use it since 2014, so haven't kept up with the project.
-
Can I use Java to build a website?
You can use Java for Backend and Frontend. A relative new kid on the block for Frontend is Qute. The general keyword you are searching for is Java Templating Engine. Specific examples would be Thymeleaf or FreeMarker. There are some framework, which offer a lot more than templating like Vaadin or Wicket. Some are just specifications like Jakarta Faces with some of their implementations MyFaces or Mojarra.
-
Getting back into Java after 12-15 years away?
Perhaps, a good competitor for JSF is Apache Wicket.
-
Options for high level front-end frameworks for Java developers
I have used https://wicket.apache.org/ in the past and I think it matches your needs. It's a simple mvc that focuses on the actual java code writing and uses html only on the layout of your components in your page.
-
Spas Were a Mistake
Is this the Wicket you're referring to? https://wicket.apache.org/
What's the best intro you know to how it's components work, and the benefits and tradeoffs over other approaches?
-
Simple UI for a Spring Boot application
You should consider Apache Wicket. It is widely used for business apps.
-
Lona – A web framework for responsive web apps in full Python without JavaScript
I think Apache Wicket takes a similar approach for Java? https://wicket.apache.org/
I like the approach, and it's good to see more projects in this space.
-
The Apache Attic
I believe Wicket is somewhat similar (and still actively developed).
https://wicket.apache.org/
Thymeleaf
-
A Ride Through Optimising Legacy Spring Boot Services For High Throughput
Thymeleaf is used for serving frontend resources in this service, and it has cache enabled for static resources based on content. Something like the following properties:
-
Mastering Java Spring Framework: A Comprehensive Guide
xmlns:th="http://www.thymeleaf.org"> th:text="${title}">Product List th:each="product : ${products}" th:text="${product.name}">
- Spring Boot Thymeleaf File Upload example
-
Authentication for Spring Boot App with Authgear and OAuth2
*with Thymeleaf and SpringSecurity 6 to build a regular web application and it uses Authgear to **add authentication with the login page
-
Spring Security and OpenID Connect
Finally, we will create a HomeController to make the test effect more visually significant by controlling the content displayed on the page. We will display different information according to the role and use the thymeleaf template engine to render.
-
Spring Security OAuth2 Login
Finally, we create the Controller class and use the thymeleaf template engine to build the home page information. Different permission information sees different results in the home page list.
-
Spring Security persistent OAuth2 client
Configure all requests here to require authentication and authorization, provide Form form authentication methods, and customize the login template through thymeleaf. The code here is not within the scope of this article, and the following will not Show specific details.
-
Customize the OAuth2 authorization consent page
Then let's define the html page, here we use the thymeleaf template engine:
-
Can you do web development with java?
You can also use SSR (Server Sided Rendering) to generate the front end before it is returned, reducing the need for JS. Thymeleaf is an example of that.
-
Can I use Java to build a website?
You can use Java for Backend and Frontend. A relative new kid on the block for Frontend is Qute. The general keyword you are searching for is Java Templating Engine. Specific examples would be Thymeleaf or FreeMarker. There are some framework, which offer a lot more than templating like Vaadin or Wicket. Some are just specifications like Jakarta Faces with some of their implementations MyFaces or Mojarra.
What are some alternatives?
Vaadin - Vaadin 6, 7, 8 is a Java framework for modern Java web applications.
FreeMarker - Apache Freemarker
Spring Boot - Spring Boot
Apache Velocity - Mirror of Apache Velocity Engine
PrimeFaces - Ultimate Component Suite for JavaServer Faces
Handlebars.java - Logic-less and semantic Mustache templates with Java
ZK - ZK is a highly productive Java framework for building amazing enterprise web and mobile applications
Mustache.java - Implementation of mustache.js for Java
Play - The Community Maintained High Velocity Web Framework For Java and Scala.
Pebble - Java Template Engine
PyWebIO - Write interactive web app in script way.
Jtwig Project - Java modern template engine