> server: send formatted html data + javascript code (icluding a > 'template' that knows how to display additional data) > client: request more data > server: send simple JSON dictionary > client: apply javascript template already loaded on the page on the > recieved data and add it to the page (or replace part of the page)
What I'm unclear about is whether there is supposed to be any concordance between the JavaScript widgets in the file widget.js and the Python implementation in turbogears/widgets. They don't seem to be in any way related even though they share the 'widgets' moniker. Is this something that just sort of grew organically and needs to be 'projectized'? It would seem to me that it would be really handy to have a Python and JavaScript/DOM based set of 'Widgets' that could be fluidly manipulated from client or server side with common semantics. S

