Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DHBW socket.io

DHBW socket.io

The slides were presented at the Cooperative State University Baden-Wuerttemberg Heilbronn.

They give a very simple overview about WebSockets. The live-coding part can be viewed at GitHub: https://github.com/ManuelRauber/dhbw-socketio-sample

Manuel Rauber

February 18, 2016
Tweet

More Decks by Manuel Rauber

Other Decks in Programming

Transcript

  1. WEBSOCKETS
    MANUEL RAUBER

    View full-size slide

  2. WEBSOCKETS
    WEBSOCKETS
    ▸ Full-duplex communication between server and client
    ▸ Realtime event-driven push scenarios
    ▸ Supported in all major browsers
    ▸ Fallback possibility to HTTP Long Polling
    2

    View full-size slide

  3. WEBSOCKETS
    IMPLEMENTATIONS
    ▸ JavaScript/Node.js: socket.io
    ▸ .NET: ASP.NET SignalR
    ▸ Java: Java-WebSockets
    ▸ Ruby: websocket-ruby
    ▸ Python: autobahn|Python
    ▸ PHP: Ratchet
    3

    View full-size slide

  4. SOCKET.IO

    LIVE-CODING

    View full-size slide

  5. WEBSOCKETS
    THANK YOU
    ▸ GitHub: https://github.com/ManuelRauber/dhbw-socketio-sample
    ▸ Manuel Rauber
    ▸ https://manuel-rauber.com
    ▸ @manuelrauber
    ▸ http://thinktecture.com
    5

    View full-size slide