I'm currently developing a website that requires a push notification style system like Facebook notifications. I would like the user to be notified when an event occurs such as "X added you as a friend"...
I've been looking into my options however they seem to be extremely limited as the website will be hosted on a shared hosting platform therefore I have limited access etc.
1) Looking at long polling comet style - as I can't run Python on the server, my only option here is PHP for the server script however due to thread consumption this probably isn't a very scalable option.
2) WebSockets - these look great but with browser support limited it doesn't seem plausible just yet..
So - has anyone accomplished this on a shared hosting platform? I'd rather not have to use a service like Pusher.
Many thanks!! :)
PS - I'm using Yii framework - any solutions with that in mind would be even better