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
RORO 06/2012 - Bustle & API Taster
Search
Fred Wu
June 28, 2012
Programming
0
130
RORO 06/2012 - Bustle & API Taster
Fred Wu
June 28, 2012
Tweet
Share
More Decks by Fred Wu
See All by Fred Wu
RubyConf China 17/11/2012 - Become a Better Developer You Can
fredwu
11
1.9k
RubyConf China 17/11/2012 - [UNCUT] Become a Better Developer You Can
fredwu
31
1.9k
Other Decks in Programming
See All in Programming
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
430
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.3k
DMMを支える決済基盤の技術的負債にどう立ち向かうか / Addressing Technical Debt in Payment Infrastructure
yoshiyoshifujii
5
750
バイブコーディング超えてバイブデプロイ〜CloudflareMCPで実現する、未来のアプリケーションデリバリー〜
azukiazusa1
3
780
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
110
JetBrainsのAI機能の紹介 #jjug
yusuke
0
180
バイブスあるコーディングで ~PHP~ 便利ツールをつくるプラクティス
uzulla
1
320
ソフトウェア設計とAI技術の活用
masuda220
PRO
25
7.3k
実践!App Intents対応
yuukiw00w
0
120
PHPUnitの限界をPlaywrightで補完するテストアプローチ
yuzneri
0
380
一人でAIプロダクトを作るならAIにはもっと働いてもらいたい / I want AI to work harder
rkaga
3
230
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
17
3.7k
Featured
See All Featured
How GitHub (no longer) Works
holman
314
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
21
1.4k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Speed Design
sergeychernyshev
32
1.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Designing for Performance
lara
610
69k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The World Runs on Bad Software
bkeepers
PRO
70
11k
BBQ
matthewcrist
89
9.8k
Transcript
@fredwu
API Taster Bustle
Bustle https://github.com/fredwu/bustle
Readme Driven Development RDD
Activities recording and retrieving using a simple Pub/Sub* architecture. *
At least on surface it is, lol.
None
Like Faye, Redis and ZeroMQ, etc A "traditional" pub/sub usually
involves 3rd party services
I want...
Really simple, perl devs would hate it Don't need to
support 100M (imaginary) users Works with ActiveRecord Can be extended/migrated to use with other data stores Decoupled from the main app
Bustle Overview Publisher Subscriber Subscription Active Record Persistence Layer w/
orm_adapter Redis Faye
Simple API Bustle::Publishers.add Bustle::Subscribers.add Bustle::Subscriptions.add Bustle::Publisher.publish Bustle::Subscriber.activities and a few
others ...
gem 'bustle'
https://github.com/fredwu/api_taster API Taster
It's insanely great.
Just kidding.
*For some, I hope. But it's useful.*
*Not just on surface!! (╯°□°)╯ ┻━┻ A quick and easy
way* to visually test your Rails application's API
None
It's a Chrome extension Every single API needs to be
manually defined Inputs (request data) need to be manually entered Can't share the inputs easily Postman is Awesome, But...
I want...
API endpoints are automatically generated from your Rails routes definition
Defining inputs is as easy as defining routes Post params can be shared with your test factories
None
Isn't it beautiful?
gem 'api_taster'
Demo