Reputation: 12112
How do I add an option for auto-update feature (like on Youtube and Twitter) using the play framework?
Specifically, if I was making a Stackoverflow clone, I'd want new questions to show up without having to refresh the page. Or, when viewing a question, new answers get added to the list without refreshing the entire page.
Thanks!
Upvotes: 2
Views: 405
Reputation: 55798
You have two solutions, both possible without problems in Play!
websockets
for updating vote counters, informing about edits, etc. It's reaaaaly powerful feature, but keep in mind that older browser can have some problems with it.Upvotes: 2