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
なぜあなたのオブザーバビリティ導入は頓挫するのか
ryota_hnk
5
560
[DevinMeetupTokyo2025] コード書かせないDevinの使い方
takumiyoshikawa
2
250
画像コンペでのベースラインモデルの育て方
tattaka
3
1.1k
知って得する@cloudflare_vite-pluginのあれこれ
chimame
1
140
リッチエディターを安全に開発・運用するために
unachang113
1
350
構文解析器入門
ydah
7
2k
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
330
大規模FlutterプロジェクトのCI実行時間を約8割削減した話
teamlab
PRO
0
450
Dart 参戦!!静的型付き言語界の隠れた実力者
kno3a87
0
160
抽象化という思考のツール - 理解と活用 - / Abstraction-as-a-Tool-for-Thinking
shin1x1
1
930
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
8
560
대규모 트래픽을 처리하는 프론트 개발자의 전략
maryang
0
110
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
What's in a price? How to price your products and services
michaelherold
246
12k
Writing Fast Ruby
sferik
628
62k
We Have a Design System, Now What?
morganepeng
53
7.7k
Side Projects
sachag
455
43k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
A designer walks into a library…
pauljervisheath
207
24k
How STYLIGHT went responsive
nonsquared
100
5.7k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
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