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
Faye URUG Presentation
Search
David Moulton
August 14, 2012
Programming
1
92
Faye URUG Presentation
Presentation on the basics of using the Faye gem in Ruby on Rails.
David Moulton
August 14, 2012
Tweet
Share
More Decks by David Moulton
See All by David Moulton
OpenWest Ionic Presentation
dmoulton
2
81
Rails Caching Basics
dmoulton
0
110
Other Decks in Programming
See All in Programming
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
組織で育むオブザーバビリティ
ryota_hnk
0
180
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
CSC307 Lecture 06
javiergs
PRO
0
690
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
高速開発のためのコード整理術
sutetotanuki
1
400
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
260
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
190
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
66
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
The browser strikes back
jonoalderson
0
370
Mind Mapping
helmedeiros
PRO
0
87
Git: the NoSQL Database
bkeepers
PRO
432
66k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
320
Music & Morning Musume
bryan
47
7.1k
Transcript
David Moulton @dmoulton
[email protected]
Snaga on IRC
About Me
2 of these
Only 1 of these
Too many of these
Other stuff I've been known to do
Faye is a publish-subscribe messaging system based on the Bayeux
protocol. It provides message servers for Node. js and Ruby, and clients for use on the server and in all major web browsers.
How? Server publishes to named channels Client subscribes to channels
Rails Faye Setup Add to Gemfile: private_pub thin Create private_pub.ru
rackup faye.ru -s thin -E production
Assets application.js //= require private_pub
Basics Publishing PrivatePub.publish_to(<CHANNEL>,<JAVASCRIPT>) Subscribing <%= subscribe_to <CHANNEL> %>
Codes
http://faye.jcoglan.com/ https://github.com/faye/faye http://railscasts.com/episodes/260-messaging-with-faye http://railscasts.com/episodes/316-private-pub? view=asciicast http://svn.cometd.com/trunk/bayeux/bayeux.html https://github.com/ryanb/private_pub https://github.com/dmoulton/fayedemo