Jeremy,

You mention

> One aspect that particularly interests me is the production of redundant 
> static pages to reproduce the functionality of a dynamic experience. For 
> example, consider a table of a few columns of data that we’d like to 
> publish such that the user can click on a column heading to sort by it. The 
> usual approach would be a small JS plugin that rearranges the DOM when the 
> column header is clicked. Instead, we could pre-generate static HTML 
> representations of every combination of sorting for the table, and then 
> construct links between them. So, if the initial rendering is ordered by 
> first name, and the user clicks on the column for the second name, they 
> would actually be navigating to a different rendering of the data sorted by 
> second name.
>

What you propose would be very helpful, however I was thinking it may be 
quicker and easier to hand the creation of the alternate static views to 
the user, but provide a way to "overlay them" in a dynamic design so that 
they appear in the static HTML output. This would possibly empower 
additional dynamic experience emulation.

I'm thinking for example a list field on a tiddler indicating the 3 
tiddlers representing the different sort orders.
Even simply cloning the sort-able tiddler for each sorted result (change 
sort filter) and altering the headings to refer to each sort view, all we 
need is for the generation of static HTML to recognise these and only 
display the currently selected "view".

I suppose I am interested in generalising as much as possible any solution.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e7adc409-5ea5-4277-a93d-262d818b8e47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to