Mastering Thymeleaf with Spring Boot
4.2 (646 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
14,571 students enrolled

Mastering Thymeleaf with Spring Boot

Become an expert using Thymeleaf Templates with Spring Boot
Bestseller
4.2 (646 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
14,571 students enrolled
Created by John Thompson
Last updated 11/2019
English
English [Auto-generated]
Current price: $48.99 Original price: $74.99 Discount: 35% off
15 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4.5 hours on-demand video
  • 1 article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn how to convert a HTML5 document to a Thymeleaf template
  • Use Bootstrap CSS to build a basic web page
  • Configure Spring MVC with Spring Boot to display Thymeleaf templates
  • Externalize text values to properties files
  • Use Spring Message bundles for internationalized text values
  • Display POJO properties via a Thymeleaf template
  • Iterate over lists to display tabular content
  • Use Thymeleaf fragments for comment HTML components
  • Display Spring validation messages using Thymeleaf
  • Use the Thymeleaf Spring Security extension to show, or not show, content to users
Course content
Expand all 65 lectures 04:36:43
+ Bootstrap CSS
6 lectures 26:05
Section Overview
01:33
Overview of HTML
05:18
Adding CDN Resources for Bootstrap CSS
06:58
Bootstrap Grid System
07:37
Bootstrap Code Assignment
01:54
Bootstrap Code Assignment Review
02:45
+ Building the Example Product Catalog Website
4 lectures 16:14
Section Overview
01:41
Building the Main Index Page
05:37
Product Page Code Assignment
04:17
Product Page Code Assignment Review
04:39
+ Rendering Thymeleaf Templates with Spring Boot and Spring MVC
7 lectures 32:47
Section Overview
01:11
Spring MVC Configuration
04:02
Converting HTML to Thymeleaf Templates
07:36
Thymeleaf Standard Dialect XSD
04:35
Rendering Static Resources In Thymeleaf
08:28
Thymeleaf Image Tag Code Assignment
01:46
Thymeleaf Image Tag Code Assignment Review
05:09
+ Externalizing Text in Thymeleaf with Spring MVC
5 lectures 16:12
Section Overview
01:07
Externalizing Text in Thymeleaf with Spring MVC
03:53
Spring MVC Internationalization of Text using Thymeleaf
06:06
i18N Coding Assignment
01:38
i18N Coding Assignment Review
03:28
+ Using Thymeleaf Fragements
5 lectures 21:36
Section Overview
01:44
Using Thymeleaf Fragments
05:22
Thymeleaf Fragments Code Assignment
01:22
Thymeleaf Fragments Code Assignment Review
04:05
BONUS - Using Spring Boot Dev Tools
09:03
+ Displaying Objects Using Thymeleaf with Spring MVC
6 lectures 25:23
Section Overview
01:49
Spring MVC Service Layer
04:19
Returning Objects to Thymeleaf
04:42
Accessing Object Properties in Thymeleaf
07:56
Displaying Objects Code Assignment
02:18
Conditional Logic in Thymeleaf
04:19
+ Listing Objects Using Thymeleaf
7 lectures 29:30
Section Overview
02:03
Spring MVC Configuration
05:20
Iteration in Thymeleaf
07:16
Using Iteration with Fragments
05:17
Iteration Code Assignment
01:32
Iteration Code Assignment Review
04:04
Thymeleaf Expressions
03:58
+ Spring MVC Validation Messages
9 lectures 48:49
Section Overview
01:38
Spring MVC Configuration
06:49
Setting Up Forms in Thymeleaf
06:50
Display Error Alert Using Bootstrap CSS
06:24
Displaying Field Level Validation Messages
08:49
Validation in Thymeleaf Code Assignment
01:40
Validation in Thymeleaf Code Assignment Review
06:11
Login Form Code Assignment
01:54
Login Form Code Assignment Code Review
08:34
+ Using Spring Security with Thymeleaf
9 lectures 39:10
Section Overview
01:35
Spring Security Maven Dependencies
04:49
Spring Security Configuration
05:33
Thymeleaf Spring Security Maven Dependencies
02:41
Thymeleaf Spring Security XML Namespace
04:45
Showing Content Based on Logged in Status
05:56
Showing Content Based on Role
05:40
Showing User Information
05:35
Spring Security JSP Tag Lib
02:36
Requirements
  • You should know HTML, CSS, and Java before starting this course
  • Basic skills with Spring are very helpful. The focus of this course is on Thymeleaf and using Thymeleaf with Spring / Spring Boot. It is not specifically on Spring though.
Description

Thymeleaf is a highly popular templating engine to use with Spring MVC to produce rich, and dynamic web pages.

Unlike other options available for Java and Spring Boot, Thymeleaf has a natural templating language - meaning you can view the templates right in your favorite browser. 

Try doing that with JSP!

In this course you are guided step by step in building an ecommerce like web application using Thymeleaf, Spring MVC, and Spring Boot. 

The focus of the course is on building web content with Thymeleaf. You start off the course building web pages using Bootstrap CSS. These are simple web pages you can view right in your browser. (No Spring Boot or Spring MVC - yet!) This is to give you a good overview of Bootstrap CSS, one of the most popular CSS frameworks in use today!

Next, you build the HTML for a product catalog website. Just the HTML to show a product listing and product detail pages.

Then we take your HTML pages and convert them into Thymeleaf templates. We add the templates into a Spring Boot application. Spring Boot will auto-configure Spring MVC to render the Thymeleaf templates under Tomcat. 

You get to see how we transition the HTML documents from simple HTML, into Thymeleaf Templates for the Spring Boot application.

Using Spring MVC, you are able to start introducing dynamic content into the Thymeleaf templates. 

From here you get to explore using Thymeleaf with Spring Boot. 

You get hands on examples of:

  • Externalizing Text properties
  • Using Spring MVC Internationalization with Thymeleaf
  • Using Thymeleaf Fragments for common page components. 
  • Leveraging Spring Boot Developer tools to speed up your development
  • Rendering POJOs returned from Spring MVC under Thymeleaf
  • Looping over lists in Thymeleaf
  • Using Thymeleaf fragments with lists
  • Thymeleaf expression syntax
  • Spring MVC validation with Thymeleaf
  • Using Spring Security with Thymeleaf
  • How to show different content to logged in users vs anonymous users

While the course does use the Spring Framework, Spring Boot, Spring MVC, and Spring Security - these are not the primary topics of the course.

If you are a Spring Framework developer, used to JSPs (Java Server Pages) and wishing to get up to speed on Thymeleaf this is a perfect course for you! You'll never want to use JSPs again!

Even if you are not a Spring Framework developer, you will still get a lot out of this course! Thymeleaf is a powerful templating technology for Java and Spring. With Spring Boot it becomes very easy to develop rich dynamic content!

Who this course is for:
  • Anyone who wants to learn how to use Thymeleaf with Spring
  • No prior knowledge of Thymeleaf is required
  • Ideal for Java developers wishing to learn more about Thymeleaf and Spring