介绍
thymeleaf翻译软件有的将它翻译为"百叶香"有的将它翻译为胸腺
官网: https://www.thymeleaf.org/index.html
home页面有三句话介绍了它
Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
讲的是thymeleaf是适用于web和独立环境的现代服务器端java模板引擎
它代替了java传统的jsp
Thymeleaf’s main goal is to bring elegant natural templates to your development workflow — HTML that can be correctly displayed in browsers and also work as static prototypes, allowing for stronger collaboration in development teams.
thymeleaf主要的目的是给你的开发流程带来一个优雅自然的模板,html可以在浏览器中正确的显示,也可以作为静态原型工作
With modules for Spring Framework, a host of integrations with your favourite tools, and the ability to plug in your own functionality, Thymeleaf is ideal for modern-day HTML5 JVM web development — although there is much more it can do.
thymeleaf拥有适用于spirng框架的模板,集成了你喜欢的大量 的工具,具有及插入您自己的功能的能力,是H5 JVM WEB开发的理想选择,尽管他还有许多工作要做
使用
进入导航上的doc(文档)查看怎么使用
tutorials(教程)
如何使用thymeleaf
spring集成thymeleaf
thymeleaf拓展
具有详细的文档和应用程序
学习thymeleaf
进入在线文档,学习它的语法
thymeleaf可以处理哪种模板类型
XML
Valid XML
XHTML
Valid XHTML
HTML5
Legacy HTML5
Also note that validation is only available for XML and XHTML templates.
还需要注意验证只对xml和xhtml可用
标准表达语法
集成thymeleaf
进入Articles(文章)
其他框架集成thymeleaf