Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You might want to take a look at <a href="http://websocket.org/quantum.html" rel="nofollow noreferrer">websockets</a>, and especially at websocket.io, that allows you to fall <a href="https://stackoverflow.com/questions/3436555/html-5-websockets-will-replace-comet">back to comet</a> (comet isn't going to disappear anytime soon) when native websockets are not available, although as you are targeting the iphone (app?) you can choose whatever you want.</p> <p>One advantage of using websocket.io is that it includes fallback mechanisms in case a browser does not support websockets (with flash and/or longpolling)</p> <p>The current state of afairs in djangoland is, independently of the transport mechanism, that django and other mainly wsgi based frameworks aren't good at comet/websockets. That doesn't mean you can't integrate comet/websockets with django, but you normally place another piece of technology in between.</p> <p>A common implementation is to use something like redis+pubsub and a async server combination like node.js/socket.io or a python framework like twisted, orbited, cyclone, or evserver.</p> <p>Take a look at these questions that have to do with websockets and django: </p> <ul> <li><a href="https://stackoverflow.com/questions/7678402/django-gevent-socket-io-with-redis-pubsub-where-do-i-put-things">Django/gevent socket.IO with redis pubsub. Where do I put things?</a></li> <li><a href="https://stackoverflow.com/questions/4190186/can-i-use-socket-io-with-django">Can I use Socket.IO with Django?</a></li> <li><a href="https://stackoverflow.com/questions/4363899/making-moves-w-websockets-and-python-django-twisted/4369471#4369471">Making moves w/ websockets and python / django ( / twisted? )</a></li> <li><a href="https://stackoverflow.com/questions/4310706/django-comet-push-least-of-all-evils">Django / Comet (Push): Least of all evils?</a></li> </ul> <p>some iphone websockets questions I quickly looked up:</p> <ul> <li><a href="https://stackoverflow.com/questions/6535155/trying-to-connect-to-node-js-and-socket-io-0-7-2-from-iphone">trying to connect to node.js and socket.io 0.7.2 from iphone</a></li> <li><a href="https://stackoverflow.com/questions/4951461/iphone-objective-c-socket-communication-with-socket-io">iPhone Objective-C socket communication with Socket.IO</a></li> </ul> <p>some tutorials/projects that might help with the django side:</p> <ul> <li><a href="https://github.com/stephenmcd/django-socketio" rel="nofollow noreferrer">django-socketio</a> </li> <li><a href="http://codysoyland.com/2011/feb/6/evented-django-part-one-socketio-and-gevent/" rel="nofollow noreferrer">evented-django-part-one-socketio-and-gevent</a></li> <li><a href="http://sontek.net/pycon-sprints-part-1-the-realtime-web-with-gevent" rel="nofollow noreferrer">pycon-sprints-part-1-the-realtime-web-with-gevent</a> </li> <li><a href="http://socket.io/" rel="nofollow noreferrer">socket.io</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload