More demos to remove
colinbdclark at gmail.com
Wed Sep 23 14:57:37 UTC 2009
On 23-Sep-09, at 9:37 AM, Anastasia Cheetham wrote:
> On 22-Sep-09, at 5:17 PM, Colin Clark wrote:
>>> The following will be moved into the portal:
>> I'm not convinced these particular examples are suitable polished
>> demos. I think they're useful as things to study while you're
>> learning the Renderer, but I don't think that they illustrate
>> succinctly to a user how the Renderer works, at least in their
>> current form. Can we also consider creating a new Renderer demo to
>> the portal, or modifying one of these, in time for Infusion 1.1.2?
> Colin, I'd be happy to help modify one of these demos to make it
> more suitable, if you could help to clarify what about them might
> need changing, and how :-)
Awesome! So here's what I'm thinking...
These current examples show all the possible ways one can use the
Renderer--with rsf:ids, with cutpoints, data bound, and so on. But it
doesn't give a user a clear picture of how they should start, and
which techniques are recommended.
So, here are the general techniques that our demo should illustrate:
* Using cutpoints, not IDs in the markup
* Programmatic tree generation using fluid.transform
* A blend of data-bound and literal values
I think it should probably showcase a handful of Renderer components,
* UIBound for plain text
* UIContainer for repetitions
* UISelect for a drop down, checkboxes, or radio buttons
We should probably also make it simple enough that the user can see
how the tree is composed, and the relationship between data, markup,
and tree clearly without having to study the example in great depth.
I think your current demos probably provide a good structure for us to
create a new demo with.
Hope this helps,
Technical Lead, Fluid Project
More information about the fluid-work