Reputation: 267049
How can I implement the comet / server push design pattern using PHP and Javascript? Essentially what I would like is something like this:
How can I do this? Any links/info please?
Upvotes: 2
Views: 10046
Reputation: 44632
Comet with PHP has some tricky issues with scaling. An alternative would be a SaaS solution, such as WebSync On-Demand. (Disclaimer: I work there). That way you don't have to worry about any of the behind the scenes stuff, and you can just get your server-push functionality.
Upvotes: 2
Reputation: 6809
There are a couple of very good examples at: How to implement comet with PHP
Upvotes: 1
Reputation: 7253
Most of the services use the Client-initiated requests, but there's also Comet. There's a few articles out there on it.
Upvotes: 0