Thymeleaf Fundamentals and Server Side Rendering (SSR)
In enterprise web application development, generating user interfaces can occur directly in the client's browser using JavaScript frameworks or on the server before transmitting the HTTP response over the network. The latter approach is known as Server Side Rendering (SSR). Within the Java and Spring Boot ecosystem, Thymeleaf is the premier template engine for implementing secure, maintainable, and high-performance Model-View-Controller (MVC) architectures.
Thymeleaf Tags, Expressions, and Spring MVC Controllers
The true power of Thymeleaf lies in combining a standard dialect of HTML attributes (th:*) with an expressive expression language. Together, these mechanisms seamlessly bind data injected by Spring Boot controllers to visual elements in the web browser.
Practical Lab: User Management with Spring Boot MVC and Thymeleaf
In this step-by-step practical laboratory, we develop the visual administration module for the Board Games App (Juegos de Mesa App). We will build a complete web interface for managing users and roles using the Model-View-Controller (MVC) architecture, reusable modular layout components with fragments, and the Post/Redirect/Get (PRG) design pattern.
Weekly Slides
Official presentation slides for Week 8object, th:field), Spring MVC Controllers (@Controller, Model, @ModelAttribute), and the Post/Redirect/Get (PRG) Pattern.