#
Thymeleaf vs Angular
This article explains to you which are the differences between Thymeleaf and Angular.
When you create a web page into a server-side Java Web Application, you will follow the schema below:
Take a look at the Thymeleaf template :
and also to the Angular .html and .ts files:
Info
- As you can see Thymeleaf is closer to the HTML format and for this reason Thymeleaf is named "a natural template"
- Angular is a Single Page Application while Thymeleaf is a "multipage" application
- With Thymeleaf, the page is created on the server and with Angular, the page is created on the client
- Both give you full control to the web design
- Thymeleaf could be seen as an improvement to the Java Server Pages (JSP) while Angular is a (relatively) new way of creating the front-end