Node.js & socket.io

3,512 views

Published on

In this slides we cover a bit about the history of the web, why we should use socket.io and a demo about node.js

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,512
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
46
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Node.js & socket.io

  1. 1. Node.JS, Socket.IO and theReal-Time Web Alon Nativ
  2. 2. Alon Nativ @anativ alon@conduit.com
  3. 3. Why are we here?
  4. 4. Why Sockets?
  5. 5. History
  6. 6. Web historydfasdsfasdfasdStatic Docs dfasdsfasdfasd Dynamic Docs dfasdsfasdfasd AJAX Apps dfasdsfasdfasd Real Time Apps
  7. 7. HTTP Request ResponseClient (browser) ServerDont call me But I have Ill call you! something to say
  8. 8. Ajax Polling Anything? No!Client (browser) Anything? No! Anything? Yes!
  9. 9. Long Polling Anything?Client (browser) Server Yes Anything?
  10. 10. Sockets lets TalkClient (browser) Server
  11. 11. Sockets and the Web e Forever Ifram WebS ocket Po lling JS ONP AJA et XM k ultip Soc art stre h am F las ing AJAX Long P olling
  12. 12. How can we handle all theformats?
  13. 13. Server?
  14. 14. We need a server
  15. 15. Let the coding begin... Client Server
  16. 16. Demo...http://bit.ly/techmeetup1http://socket-io-canvas.herokuapp.com/
  17. 17. Read more...Node.js - http://nodejs.org/Socket.IO - http://socket.io/Demo Site - http://bit.ly/techmeetup1Demo Code - https://github.com/anativ/collaborative-canvas
  18. 18. Thanks @anativ @anativ

×