websocket in ios application to create real-time applications

Post on 13-Dec-2014

1.229 Views

Category:

Mobile

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Presentation about: Why do we need WebSocket? How does it work? Practical use cases How we can implement in iOS

TRANSCRIPT

WebsocketReal time in iOS applications.

Cocoaheads 10.04.2014

Kraków - Brainly HQ

Roman Barzyczak !

!

Email: roman.barzyczak@brainly.com Twitter: @roman_barzyczak

Head of Mobile, Brainly

Agenda

Why do we need WebSocket?

How does it work?

Practical use cases

Demo application

Q&A

What is websocket?

Why?

Websocket delivers Full Duplex Communication Model

source: http://synrg.csl.illinois.edu/projects/phymac/

HTTP is Half Duplex

source: http://www.websocket.org/quantum.html

Increased Client and Server Communication Efficiency

How does it work?

source: http://www.websocket.org/quantum.html

Polling vs WebSockets

Give a Handshake

source: http://java.sys-con.com/node/2818935

Practical use cases

Chats

Hangouts Messanger

Streams

zadane.pl facebook

Live statistics

livescore.com

Games

DoodleJump

Demo time!

Connect to „Brainly-guest” Visit site: 192.168.13.101/~yoman/

How to implement Websocket in iOS applications? Demo available at: https://github.com/brainly/hive-demo

Q&A

top related