Reputation: 313
What is the current state of Push technology in web development? I heard solutions like Comet as described in this article are not used anymore and instead WebSocket is the future for this kind of features, but it's only supported in Chrome and Safari.
What is the best technique to use?
I'm developing a game where many players (between 2 and 4) can seamlessly interact with each others. I'm using PHP server side and Jquery in client side.
Upvotes: 1
Views: 601
Reputation: 41867
There is a solution that will work in older browsers. I don't know the finer details but I'm sure liking the blurb: (see query-graceful-websocket)
The Graceful WebSocket
So, you want to start building realtime event driven applications using the new HTML5 WebSocket API?
Introducing, the gracefulWebSocket jQuery plugin:
Default fallback behavior can be overridden by plugin options
Upvotes: 3
Reputation: 59
I use beaconpush (Software as a Service) easy to implement, nice API, interesting functions - definitely worth a look.
Upvotes: 1