real timepassado, presente e futuro@andrewsmedina
sobre mimcobrateam founderadmin python-br, djangobrasildesenvolvedor globo.com
real time?
viagem no tempo
pré-ajax
ajax polling var streaming = function() {  $.getJSON(url, function(data) {      // acoes      setTimeout(function() { stre...
long polling fecha a requisição apenas quando tem uma resposta looping infinito hack iframe infinito
websocket e evensource
websocketbi-direcionalconexão entre o browser e o servidorprotocolo diferente
websocketfirefox 4chrome 4opera 11safari 5ie?
websockethttp://socket.io
eventsource ouserver-sent events HTTP unilateral
eventsourceContent-Type: text/event-streamCache-Control: no-cacheConnection: keep-alive
eventsourcechrome 9opera 11safari 5firefox 6ie?
eventsourcehttps://github.com/remy/polyfills
websocket x eventsource
websocket & eventsource
server-side twisted tornado cramp socket.io nginx-push-stream-module
twisted python https://github.com/rlotun/txWebSocket
tornadofacebookhttp://www.tornadoweb.org/https://github.com/facebook/tornado/tree/master/demos/websocket
crampruby
socket.io node.js server e client(fallback)
nginx-push-stream-modulehttps://github.com/wandenberg/nginx-push-stream-module
perguntas?@andrewsmedina
realtime - passado, presente e futuro
Upcoming SlideShare
Loading in...5
×

realtime - passado, presente e futuro

2,192

Published on

Palestra apresentada no primeiro encontro do rio.js, sobre desenvolvimento de aplicações 'realtime' desde a era pré ajax até os dias de hoje.

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total Views
2,192
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
17
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • realtime - passado, presente e futuro

    1. 1. real timepassado, presente e futuro@andrewsmedina
    2. 2. sobre mimcobrateam founderadmin python-br, djangobrasildesenvolvedor globo.com
    3. 3. real time?
    4. 4. viagem no tempo
    5. 5. pré-ajax
    6. 6. ajax polling var streaming = function() { $.getJSON(url, function(data) { // acoes setTimeout(function() { streaming();}, 15000); }); };
    7. 7. long polling fecha a requisição apenas quando tem uma resposta looping infinito hack iframe infinito
    8. 8. websocket e evensource
    9. 9. websocketbi-direcionalconexão entre o browser e o servidorprotocolo diferente
    10. 10. websocketfirefox 4chrome 4opera 11safari 5ie?
    11. 11. websockethttp://socket.io
    12. 12. eventsource ouserver-sent events HTTP unilateral
    13. 13. eventsourceContent-Type: text/event-streamCache-Control: no-cacheConnection: keep-alive
    14. 14. eventsourcechrome 9opera 11safari 5firefox 6ie?
    15. 15. eventsourcehttps://github.com/remy/polyfills
    16. 16. websocket x eventsource
    17. 17. websocket & eventsource
    18. 18. server-side twisted tornado cramp socket.io nginx-push-stream-module
    19. 19. twisted python https://github.com/rlotun/txWebSocket
    20. 20. tornadofacebookhttp://www.tornadoweb.org/https://github.com/facebook/tornado/tree/master/demos/websocket
    21. 21. crampruby
    22. 22. socket.io node.js server e client(fallback)
    23. 23. nginx-push-stream-modulehttps://github.com/wandenberg/nginx-push-stream-module
    24. 24. perguntas?@andrewsmedina
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×