News for hackers. Stuff that matters.
Re:REST Hooks - Stop the polling madness by derek1800 on Tuesday September 10, 2013 @11:55AM (#6360804)
Are there patterns for client side JavaScript to be notified of changes to REST resources? I don't believe this particular pattern applies if I understand correctly as it needs a URL to notify.
Re:REST Hooks - Stop the polling madness by jordanthoms on Tuesday September 10, 2013 @11:58AM (#6360836)
I think you'd have to have your server receive the hook, and then notify the client side using websockets/long polling etc. Pusher makes that really easy.
Re:REST Hooks - Stop the polling madness by bryanh on Tuesday September 10, 2013 @12:38PM (#6361166)
Websockets are still your best bet here.