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
93
1
Share
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
83
Rails Caching Basics
dmoulton
0
110
Other Decks in Programming
See All in Programming
実践CRDT
tamadeveloper
0
480
アーキテクチャモダナイゼーションとは何か
nwiizo
17
5k
Alternatives to JPA 2026
debop
0
100
飯MCP
yusukebe
0
500
CDK Deployのための ”反響定位”
watany
4
720
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6.4k
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
290
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
310
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
170
10 Tips of AWS ~Gen AI on AWS~
licux
5
340
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
250
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
320
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
880
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.1k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
680
Typedesign – Prime Four
hannesfritz
42
3k
First, design no harm
axbom
PRO
2
1.2k
Building Applications with DynamoDB
mza
96
7k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
880
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
310
Marketing to machines
jonoalderson
1
5.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
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