views:

917

answers:

2

im so tired of not finding good tutorials on long polling/streaming comet techniques with jquery. what is wrong with the comet community. a lot of people wanna use this but there are no good tutorials about it.

why so slow?

+1  A: 

http://stackoverflow.com/questions/136012/comet-and-jquery

Upper Stage
the project seems to be gone. no download is available
weng
http://plugins.jquery.com/project/Comet - perhaps you are suggesting we need additional projects; I simply thought your question read very similar to the SO question above.
Upper Stage
i just cant find good tutorials teaching from setting up a comet server to writing the code in frontend (jquery) and backend (php). the link u provided i have already looked up. there is no documentation for it helping me understand it or have i missed something?
weng
When I read http://stackoverflow.com/questions/2014747/what-comet-technique-is-this-demo-using this morning, I started to write a question very similar to yours and an SO search led me to http://stackoverflow.com/questions/136012/comet-and-jquery. I like the LightStreamer white paper - you might like it also.
Upper Stage
what method are they using in lightstreamer roundup? someone told me its iframe but with iframe you cannot have two pages opened up in Firefox at the same time cause it just allows one iFrame at the time. Cause it thinks the first iframe (which is reloading forever) hasnt finnished reloading thus waiting for it to finnish first before it refreshes the other page. i have tried this and its how it works. but with lightstreamers roundup demo it works with multiple pages of that demo opened. but arent they using iframe?
weng
I scanned the white paper and saw no mention of anything but typical comet - long connections kept open. (Certainly no mention of iFrames.) It reads like you're looking a "plug-and-play" solution?
Upper Stage
no im looking for a comet tutorial for jquery and glassfish/jetty/orbited so i can undestand how to use it. there are a lot of talk but little code examples. i mean, step 1 installation of comet server, step 2, setting up front end and so on. in some tutorials they give some codes but there are no comet server. i will need a comet server for huge traffic. and what is white papers?
weng
+1  A: 

It's not a question about the comet community, it's just that this is only half of the problem. You eventually need a comet client (such as jquery, dojo, or custom clients according to the server), but first you need a comet server to connect to (such as Jetty, WebSync, etc). Once you pick the server, you can then pick the client. If it's a Beayux client (such as the two servers mentioned) which is an open spec, then you can just plug in any client that supports that standard.

jvenema
but shouldn´t it be some more tutorials on this issue. looks like there are just a handful of them out there and very undescriptive.
weng
There are lots of tutorials, it's just that they all start with the server. For example, there are a ton here: http://www.frozenmountain.com/websync/support/tutorials, but you have to have picked WebSync before those tutorials are of any use.
jvenema