>Since the UI is rendered by the server, one time, live commenting features are not available.
I've done this before with an iframe. You just don't stop rendering the page. As new comments get posted you render those comments and send them to everyone.
Good point - you could use streaming! The problem is the styling and layout would fundamentally have to change for this use case, which nobody is asking for (yet).
You could technically set the default sort order to oldest-first, and then use streaming, but I'm not sure the interaction would be good. Thanks for the idea :)
My use case was for a chatroom without javascript. I wouldn't really recommend it in production though since it makes web browsers think the page is still loading. For example Firefox will have a box it the bottom left saying that it's still loading stuff.
6 comments
[ 3.2 ms ] story [ 23.9 ms ] thread>Since the UI is rendered by the server, one time, live commenting features are not available.
I've done this before with an iframe. You just don't stop rendering the page. As new comments get posted you render those comments and send them to everyone.
You could technically set the default sort order to oldest-first, and then use streaming, but I'm not sure the interaction would be good. Thanks for the idea :)
Unfortunately it breaks with threads, and voting, but maybe the idea will be used someday!