Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

HTML5 WebSockets in Python/Django

11,483 views

Published on

How to use HTML5 WebSockets in Django through socket.io, tornado/tornadio2, Backbone, and ioSync/ioBind.

HTML5 WebSockets in Python/Django

  1. 1. inWebSockets in Python through Tornado/TornadIO2 Tony Abou-Assaleh taa@titanfile.com
  2. 2. Options• Django  Redis  Node.js• gevent/gevent-socketio• Tornado/TornadIO2
  3. 3. The StackClient Server Dispatcher TornadIO2
  4. 4. The FlowSender Client Server Recipient Client Django Django RenderUser Action Model Saved post_save changes Backbone Django Django signal BackboneModel Saved Handler handler handler ioSync TornadIO2 TorandIO2 ioBind Socket.io Dispatcher Broadcast Socket.io
  5. 5. What’s next?• https://github.com/tgcondor/django-tornadio2• Offline mode• Sync after reconnect• Asynchronous processing
  6. 6. Tony Abou-Assalehhttps://www.titanfile.com taa@titanfile.com Twitter: @tony_aa

×