javascript - How can I send "push notifications" to a specific users webpage? -


i'm not sure begin.

i'd able update users current page when user either updates database or sends specific get/post request (i write either way).

i thinking server sent events made quick test using php server , realized couple things. first need event loop based server because using php i'd have create loop keep checking database specific change. second realized server intensive should method.

so explicitly ask questions...

  1. is possible update users current page when else sends request php file on server? how?
  2. if need event loop based server best option? node.js?
  3. is possible sockets if not sse? sse makes more sense because i'm not looking user feedback.

thanks

websockets , signalr asp.net you. check out options here


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -