Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: