Phoenix: A template engine for Spring
summary
Phoenix is a new open-source template engine for Spring Boot that compiles templates to Java classes, claims orders of magnitude faster rendering than Thymeleaf and slightly faster than Rocker in the uploader’s benchmarks, and supports a Razor-like @ syntax to embed real Java, fragments with client-side fragment retrieval, and type-safe routing that computes URLs from controller mappings. The demo app (login, code browser) runs and shows insert-once CSS, CSRF helpers, and working reverse routing.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 3:59Evolution of frontends
- 6:08Limitations of Spring engines
- 7:12Goals behind Phoenix
- 8:37Key features
- 10:01Results and integration
- 11:47Modular templates
- 13:16Client-side fragments
- 14:41Type safe routing
- 15:45Reusable HTML blocks
- 17:10Multi-section templates
- 19:37Performance vs Thymeleaf
- 20:59Demo application and practical usage
- 23:29Template composition
- 28:32Insert once feature
- 29:19Type safe routing demo
- 31:06Development status
- 32:52Documentation
- 33:36Q&A
related talks
44mRise of The Phoenix - Building an Elixir Web Framework
01h 05mIsomorphic templating with Spring Boot, Nashorn and React
01h 00mPhoenix: an Intro to Elixir's Web Framework
01h 00mPhoenix a Web Framework for the New Web
41mRapid server side full stack web development with ViewComponents and htmx
34mModern frontends using Spring Boot and Thymeleaf with htmx
48mGetting Thymeleaf ready for Spring 5 and Reactive
41mPhoenix Framework
