Mastering Thymeleaf with Spring Boot

所在平台: Udemy

课程主页: https://www.udemy.com/course/mastering-thymeleaf-with-spring/

课程评论:没有评论

第一个写评论        关注课程

课程简介

Coursera 上的课程《Mastering Thymeleaf with Spring Boot》旨在教授学员如何使用 Thymeleaf 模板引擎结合 Spring Boot 构建动态、富含内容的 Web 应用。 课程亮点包括: * **自然模板语言:** Thymeleaf 的“自然模板”特性允许开发者直接在浏览器中预览 HTML 模板,无需服务器运行,极大地提升了开发效率。 * **实践项目驱动:** 通过构建一个类似电商的 Web 应用,学员能一步步掌握 Thymeleaf 的应用。 * **从前端到后端的完整流程:** * 课程从使用 Bootstrap CSS 构建静态页面开始,帮助学员熟悉流行的 CSS 框架。 * 接着,创建产品目录网站的 HTML 结构(产品列表和详情页)。 * 随后,将这些 HTML 页面转换为 Thymeleaf 模板,并集成到 Spring Boot 应用中,体验 Spring Boot 自动配置 Spring MVC 来渲染 Thymeleaf 模板。 * **动态内容实现:** 利用 Spring MVC,课程将指导学员向 Thymeleaf 模板中添加动态内容。 * **核心 Thymeleaf 功能深入:** * 文本属性外部化 * Spring MVC 国际化与 Thymeleaf 的结合 * 使用 Thymeleaf 碎片(Fragments)实现代码复用(如页眉、页脚) * 利用 Spring Boot 开发者工具加速开发 * 在 Thymeleaf 中渲染 Spring MVC 返回的 POJO 对象 * Thymeleaf 列表循环和列表碎片的使用 * Thymeleaf 表达式语法 * Spring MVC 数据校验与 Thymeleaf 的集成 * Spring Security 与 Thymeleaf 的集成(区分登录用户和匿名用户) * **目标受众:** * Spring Framework 开发者,特别是习惯使用 JSPs 并希望转向 Thymeleaf 的开发者。 * 任何对使用 Java 和 Spring Boot 开发动态 Web 内容感兴趣的开发者。 尽管课程会涉及 Spring Framework、Spring Boot、Spring MVC 和 Spring Security,但其核心重点是 Thymeleaf 的使用,目标是让学员能够轻松愉快地开发出色的动态 Web 内容。

课程评论(0条)

课程详情

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. This really helps accelerate your development process.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 propertiesUsing Spring MVC Internationalization with ThymeleafUsing Thymeleaf Fragments for common page components. Leveraging Spring Boot Developer tools to speed up your developmentRendering POJOs returned from Spring MVC under ThymeleafLooping over lists in ThymeleafUsing Thymeleaf fragments with listsThymeleaf expression syntaxSpring MVC validation with ThymeleafUsing Spring Security with ThymeleafHow to show different content to logged in users vs anonymous usersWhile 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!

课程标签

0人关注该课程

主题相关的课程