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...
- is possible update users current page when else sends request php file on server? how?
- if need event loop based server best option? node.js?
- 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
Post a Comment