Hacker News new | ask | show | jobs
by derek1800 4666 days ago
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.
2 comments

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.
Websockets are still your best bet here.