HTML5 WebSockets in Python/Django

10,414 views
10,241 views

Published on

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

1 Comment
10 Likes
Statistics
Notes
No Downloads
Views
Total views
10,414
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
67
Comments
1
Likes
10
Embeds 0
No embeds

No notes for slide

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

×