oldbard Posted April 23, 2011 Posted April 23, 2011 Hi, wondering if anyone has replaced AJAX with Comet successfully, and could explain how. My current game, The Grid at celtruler.com should implement something faster than AJAX. Quote
Danny696 Posted April 23, 2011 Posted April 23, 2011 Wow, thanks for showing us this. Umm, theres a jQuery pulin for this, not sure how good it is though.... http://plugins.jquery.com/project/jQuery-Comet-Push-API Quote
a_bertrand Posted April 24, 2011 Posted April 24, 2011 Well, the issue with ideas like COMET is that some browsers or proxy handle it badly and may actually degrade user experience. Sure the polling model of AJAX is not smart / efficient, but until we have the web socket working I would say we don't have many alternatives. Quote
Zeggy Posted April 24, 2011 Posted April 24, 2011 The jquery plugin that danny posted is what I use. The plugin uses http://www.pubnub.com and it's very fast. It's a great service with apis for loads of platforms and languages. I'd definitely recommend it. Quote
rulerofzu Posted April 24, 2011 Posted April 24, 2011 The module for nginx looks interesting. http://pushmodule.slact.net/ Quote
Djkanna Posted April 24, 2011 Posted April 24, 2011 Moved, topic doesn't belong in Introductions. Quote
oldbard Posted May 11, 2011 Author Posted May 11, 2011 Thank you for the suggestions. It would be great if there was a free method of doing this and also a way to do it without having to make files on a server (like if your server is being hosted by a web company that doesn't let you run the kind of commands to install nginx. Again, the game I wish to transfer from Ajax to something faster: The Grid Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.