Home  >  Article  >  Web Front-end  >  Thymeleaf 3.0.0 正式发布,HTML 5 模板引擎_html/css_WEB-ITnose

Thymeleaf 3.0.0 正式发布,HTML 5 模板引擎_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:18:391235browse

Thymeleaf 3.0.0 正式发布。 主要更新内容:

Template更新

  • 删除任何 th:inline="text" 属性

配置更新

  • thymeleaf-spring4 集成包和Java配置显示Thymeleaf3结构

全部HTML5标记支持

  • Thymeleaf3.0不再基于XML

  • 详情:  the Thymeleaf 3.0.0.BETA03 announcement .

Template 模式

  • 新模板模式有: HTML、 XML、 TEXT、 JAVASCRIPT、 CSS、 RAW

  • Full HTML5 support, new parsing infrastructure

片段表达式

  • New syntax for textual template modes

  • Inlined output expressions  

  • Refactoring of the inlining mechanism

无操作令牌

  • The NO-OP token.

解耦模板逻辑

  • Decoupled Template Logic.

性能改进

  • New event-based template processing engine

  • Configuring the SpringEL compiler .

从Servlet API独立

  • New extension point: Link Builders  

  • Generalisation of the IEngineContext mechanism .

融入反应框架和体系结构

新Dialect系统

  • New Dialect API

  • New Pre-Processor and Post-Processor APIs

  • New Processor API

重构核心API

  • Refactoring of the Template Resolution API

  • Refactoring of the Context API

  • Refactoring of the Message Resolution API

其他

详情请查看 发行说明

下载地址:

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn