Fluid Infusion includes a client-side Renderer that allows users to create user interface templates in pure HTML, and render the pages entirely on the client side.
The diagram shown provides a high-level overview of the fluid:basic renderer process. The Renderer works with a number of objects provided by the integrator:
- Component Tree
- Data Model (optional)
- Decorators (optional)
Each of these objects, and what the Renderer does with it, is described below (and in related documents).
For example, if your UI is going to allow users to select from a number of choices, your component tree will define the choices, but will be independent of whether or not the selection is rendered using checkboxes, a pull-down list, or some other method.
For more detailed information about component trees, see Renderer Component Trees.
TemplatesA Renderer Template is an HTML file or snippet that provides guidance to the Renderer regarding how to render the component tree.
For more detailed information about templates, see Renderer Templates.
Data BindingThe Renderer is capable of binding your data model to the rendered markup, so that any changes made by the user through the interface are reflected in the model.
For more detailed information about data binding, see Renderer Data Binding.
DecoratorsDecorators allow users of the Renderer to attach various things, such as functions, class names, etc., to the components at render time. A number of different types of decorators are currently supported.
For more detailed information about decorators, see Renderer Decorators.
For technical API documentation, see Renderer API.
Basic Renderer Process