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
96
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Faye URUG Presentation
Presentation on the basics of using the Faye gem in Ruby on Rails.
David Moulton
August 14, 2012
More Decks by David Moulton
See All by David Moulton
OpenWest Ionic Presentation
dmoulton
2
84
Rails Caching Basics
dmoulton
0
110
Other Decks in Programming
See All in Programming
AWS Transform Customによる Spring Boot 2.xから4.xへのVerUp
satoshi256kbyte
2
110
私のClaude Code活用法 (個人開発編) - PHPerKaigi mini #4(2026/08/24)
panda_program
1
190
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
370
VibeCodingからAgenticWorkflowへ
starfish719
0
960
Go 1.27 における memory allocation の高速化
andpad
0
350
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
240
不幸な GC
chencmd
0
830
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
45
28k
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
170
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
350
源内ハンズオン概要編
hideg
0
230
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
690
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
Documentation Writing (for coders)
carmenintech
77
5.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
310
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
270
Side Projects
sachag
455
43k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
220
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Marketing to machines
jonoalderson
1
5.7k
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