FLUID-4260: Implement system for multi-phased (per component), "one-pass" rendering of complex component trees (formerly, "antigens")

Metadata

Source
FLUID-4260
Type
New Feature
Priority
Major
Status
Reopened
Resolution
N/A
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2011-05-23T01:16:18.892-0400
Updated
2021-06-21T12:37:13.174-0400
Versions
  1. 1.4
  2. 1.5
Fixed Versions
N/A
Component
  1. IoC System

Description

The final portion of framework work left over from the implementation of FLUID-3681 involves the implementation of what has come to be called a "phased renderer component". This is a renderer component which participates in an overall rendering workflow, which in one pass of an invocation of the fluid renderer, renders the markup for all such components participating in the tree. This requires new lifecycle points (phases) for the components which participate - in the initial phase, they are instantiated with no container in the DOM, and respond only to requests for component tree fragments and I/O requests they require before rendering can proceed. Once rendering is complete, they are then attached to the renderer tree and DOM as fluid decorators.
This workflow will also execute on the server, with phase 2 occuring on the client after markup is produced on the server.