[wp-hackers] WordPress and Websockets
dougal at gunters.org
Thu Sep 22 18:54:35 UTC 2011
On Sep 20 2011 5:21 PM, Eric Mann wrote:
> I'm working on a plugin that, ideally, would make use of websockets to
> communicate between the front-end and the WordPress backend. Basically,
> whenever a post is published on the backend, it should trigger an event on
> the front-end for other users. This can be done using old school AJAX and
> long polling, but the point is more to make use of the cutting-edge
> technology than to fall back on "what works."
Have you looked at how the P2 theme does its dynamic front-page updates
when new posts and comments are posted? You might be able to borrow code
from there without too much fuss.
Dougal Campbell <dougal at gunters.org>
More information about the wp-hackers