What methods can be used to make PHP capable of becoming a push notification server?
You might like this: http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/
In few words: Push notifications mean the client becomes the server and vice versa; in fact all you need is a client that listens, and a server that queries those clients listed somewhere. Some servers exist, there's this one for real time notification that's used with statusnet I just can't remember its name right now. Maybe it can help, whenever I come across the name back I'll get back to ya. Meanwhile, read the tutorial above it might give you some gold ideas.
edit
The real time server is called Meteor.
There are a lot of these: http://status.net/wiki/Realtime
You should use a specific HTTP Push server to maintain permanent connections with the clients (the browsers) and then send the events from your PHP code or backend systems to that HTTP Push server for the delivery to those clients.
There are a lot of technologies and server implementations for that kind of HTTP push servers. You can find a lot of information with a google search or you can take a look for example at socket.io.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With