Hi Olaf,

Your MXML example is mostly possible with Royale today.  In the HTML.swc
are thin wrappers for most of the HTMLElements.  I see there is a Td
component, but there isn't a Table or Tr component.  Maybe you can create
them, and then it would be interesting to see if there are other bugs or
missing features that we need to deal with to make it work.

Your MXML example is also a great basis for a discussion about whether a
Table is a DataGrid and why the Royale development workflow should be
superior to snippet-pasting.  A DataGrid, IMO, is not a Table.  That's
because the API for a Table is too general.  A DataGrid might use a Table
(assuming it doesn't need selection, in which case we currently use
Lists), but a DataGrid's API is specific to its purpose, which is to
display a set of data in columns.

For example, the default DataGrid has a columns property, a dataProvider
property, and some sort of itemRenderer description.  You cannot add a
second set of columns, where as in Table, you can add another TR at any
time in any spot whether you meant to or not.  IOW, DataGrid restricts
what you can do in such a way that 99% of the time you will be successful
right away.  There are just too many ways to mess up a Table.

So, while we want to allow folks to use the thin wrappers for HTMLElements
and sort of paste snippets, I think the true value of Royale is in
providing components that better templates for what you want to do.  And
also, those components can already bake in (or have easy opt-in via beads)
the snippets for differences between browsers and common problems that
folks run into that is the reason many of us go out to the web to search
for snippets to paste.

If we do our job right, folks won't need to look for snippets at all, or
at least, less often.  And that should be even more productive than
existing HTML snippet-pasting workflows.

My 2 cents,
-Alex

On 11/23/17, 4:56 AM, "Olaf Krueger" <[email protected]> wrote:

>>Can these hang around for a while
>
>Yes, of course, there's no rush with this!
>There's more than enough other stuff that has to be done these days ;-)
>
>Thanks,
>Olaf
>
>
>
>
>
>
>
>
>
>--
>Sent from: 
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7C%7Cacd99cd4b9ff412dd
>05608d53271b314%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6364703862708
>74193&sdata=NkrnTFaLlGgVaF8qetHo89MDGtG0Fjik5Mwjy%2BV8Gfk%3D&reserved=0

Reply via email to