A walkthrough of the Heartbeat API available in WordPress 3.6+, which allows developers to quickly add live-updates to WordPress’ panel or front-end using native AJAX APIs.
We’ll go through core’s current uses of HeartBeat, how it works, and how to use it in your own plugins to add dynamically updating content within the WordPress admin or front-end.
Presented at WordCamp Phoenix 2014 by Mike Schroder
Sample Code at: https://gist.github.com/getsource/6254495