0

I have to implement a web app for a typical LAMP stack. One of the requirements is to publish "Facebook style" notifications on UI.

I'd prefer not to poll the web server to grab the data so I'm taking into consideration some push technologies (Atmosphere, Tornado...).

Since I have not found an out-of-the-box working solution in PHP, I wonder how to make the notification channel secure. I mean how to prevent User A read notifications of User B? Or even better, how to share session information between a LAMP stack and another Push server?

4

1 回答 1

1

What about WebSockets?

Like this: http://socketo.me/

It seems that only IE doesn't support it currently (unless using Flash) so it may or not be useful for you project, as you didn't specify any client requirement.

Hope this helps!

于 2012-12-30T18:33:38.557 回答