Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Wprowadzenie do websockets
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Łódź Ruby User Group
November 01, 2011
Programming
450
1
Share
Wprowadzenie do websockets
Speaker: Bartłomiej Kozal
Łódź Ruby User Group
November 01, 2011
More Decks by Łódź Ruby User Group
See All by Łódź Ruby User Group
Ruby, gigabajty danych dziennie i czas rzeczywisty
lrug
2
280
Other Decks in Programming
See All in Programming
Oxlintのカスタムルールの現況
syumai
5
970
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
130
Claspは野良GASの夢をみるか
takter00
0
150
AIエージェントと協働するCLI開発 — BunとOpenClawで学んだこと
yoshikouki
1
230
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3k
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
390
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
210
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
530
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
160
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.1k
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
330
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.9k
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
400
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
Building Flexible Design Systems
yeseniaperezcruz
330
40k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
310
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Why Our Code Smells
bkeepers
PRO
340
58k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Transcript
Wprowadzenie do websockets Bartłomiej Kozal · bkzl · @_bkzl
HTML5
None
Say whaaat? 1. Protokół wymiany danych z możliwością ograniczenia źródła
połączenia 2. Stałe połączenie handshake 3. Ustandaryzowane API i specyfikacja onopen, onmessage, onclose, onerror - http://dev.w3.org/html5/websockets 4. Przesyłanie danych bez opóźnień 5. WebSockets != AJAX
Wsparcie 1. Google Chrome 2. Safari 3. Firefox 4. Opera
5. Internet Explorer (via Silverlight) 1. Ruby 2. node.js 3. Objective-C 4. Java 5. .NET 6. ...
Biblioteki 1. Socket.IO 2. Faye 3. Eventmachine (em-websocket) 4. Cramp
Zastosowanie 1. Chat 2. Powiadomienia 3. Streaming 4. LiveScoring 5.
Gry
Faye DEMO
Pusher
Pusher DEMO
Przykłady 1. TravisCI 2. WordSquared
Pytania?
None