Mastering Thymeleaf with Spring

Become an expert using Thymeleaf with Spring
4.5 (64 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
417 students enrolled
$19
$75
75% off
Take This Course
  • Lectures 64
  • Length 4.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 2/2016 English

Course 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, 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 I will take you 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. While, Spring MVC and Spring Boot are used, these subjects are not the core focus of the course.

The course starts off by building a couple simple web pages using HTML5 and Bootstrap CSS. I show you how to convert these HTML5 documents into Thymeleaf templates. We then use the Spring Framework for internationalization and dynamic content. I show you how to use Thymeleaf fragments to produce HTML for common components. We cover how to display Spring MVC validation messages via Thymeleaf. The course concludes with using the Thymeleaf extension for Spring Security to show, or not show, content depending on if the user is logged in.

What are the 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.

What am I going to get from this course?

  • 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

What is the target audience?

  • 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

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Getting Started with Thymeleaf
Instructor Introduction
Preview
02:05
Course Introduction
Preview
03:46
Section Overview
Preview
00:46
Creating a Spring Boot Project
Preview
07:41
Checking out from GitHub
03:58
Section 2: Bootstrap CSS
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
Section 3: Building the Example Website
Section Overview
01:41
Building the Main Index Page
05:37
Product Page Code Assignment
04:17
Product Page Code Assignment Review
04:39
Section 4: Rendering Thymeleaf Templates in Spring
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
Section 5: Externalizing Text in Thymeleaf
Section Overview
01:07
Externalizing Text in Thymeleaf
03:53
Internationalization of Text using Thymeleaf
06:06
i18N Coding Assignment
01:38
i18N Coding Assignment Review
03:28
Section 6: Thymeleaf Fragements
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
Section 7: Displaying Objects Using Thymeleaf
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
Section 8: Listing Objects Using Thymeleaf
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
Section 9: Spring MVC Validation Messages
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
Section 10: Spring Security and Thymeleaf
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
Section 11: Course Conclusion
Course Conclusion
02:10

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

John Thompson, Spring Framework Guru

Hi. I'm John.

I've been in the IT industry for over 20 years. Today, I specialize mainly in Java, the most successful and widely known programming language in use today. I also specialize with the Spring Framework, which the most popular open source application framework for building enterprise class applications on the Java platform. Just some of the organizations I've worked with include Visa, Kohls, Federal Home Loan Bank, and Belk Department Stores.

Through the courses I'm providing, I hope to leverage my years of experience to accelerate your learning of the Spring Framework. I'm not going to lie to you. The Spring Framework is a big framework. The environment for enterprise Java is even bigger. If you're new to Java, you have a lot to learn. I hope through the content on this web site I can accelerate your education of the Java and Spring landscape.

Ready to start learning?
Take This Course