php - Use Push Notifications for Angular JS in Laravel 4 -
i building simple app laravel 4
backend, angular js
frontend , mysql
.
so far, using long polling update in database, have fire $http
request client server after every 5 minutes.
i need push notifications
notify client server there update in database server side.
i've searched lot of things found push notification
android , ios only.
is there library or method available implement push notification
angular js
in laravel 4
?
help please, appreciated.
the best solution use websockets. suggest using ratchet (websockets php). there problem of websockets browser support need take consideration (but can overcome using websocket.js polyfill).
Comments
Post a Comment