| Your Rating: |
![]() ![]() ![]() ![]()
|
Results: |
![]() ![]() ![]() ![]()
|
0 | rates |
| Implemented in 4.3 Implemented in 4.3 - Implemented without using a rendering context. See Technical Guide - Rendering Engine and blog post:Rendering Engine and Context. |
Rational
- it makes sense to separate the request processing and the rendering -> cleaner concept
- if the templates don't need a request (freemarker, ..), the content can be rendered 'independently'
- preparation for Concept - Rendering Context
Goals
- introduce a rendering engine
Implementation
- extract code from MagnoliaTemplatingUtilities and RenderingFilter
- configured in /server/rendering/engine
- interface RenderingEngine
- render(content, writer)
- render(content, renderab, writer)
- default implementation
- determineRenderable(content)
- determineRenderer(def)
Outlook
- instead of passing a writer we plan to pass a rendering context
