Example plugin for using Backbone.js with WordPress displays live comment stream in widget...
Add the widget to your sidebar or other widget area...
comment was made on post, but it didn't appear in the widget.
If I unapprove comment, will it be removed from the widget..
This plugin uses Backbone.js 1.0.0, which was added WordPress 3.6...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Limited the number of comments returned to 10.
Changed get comments query to use DESC so that most 10 comments are sent.
Changed ajax update to fetch any comments added since last query.
Simplified subview logic to simply prepend new comments at the top of the comments view. 0.2.
Read more