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
120
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
12
1.8k
RubyConf China 17/11/2012 - [UNCUT] Become a Better Developer You Can
fredwu
32
1.7k
Other Decks in Programming
See All in Programming
Rubyのパフォーマンスプロファイリングの改善 / Enhancing performance profiling for Ruby
osyoyu
1
410
実用的かつリーズナブルな 「Azure × Gemini × LINE」~キャラクターBot 実装ライブデモ~
tomodo_ysys
1
170
入社1ヶ月でここまでやった!Findy Toolsインフラ支援の最適化
rvirus0817
6
1.4k
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
GraphQL はいいぞ! ~Laravel で学ぶ GraphQL 入門~
azuki
1
160
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
Javaの現状2024夏 / Java current status 2024 summer
kishida
4
1.4k
Play Billing Library 7.0.0 変更点まとめ@potatotips#88
kako351
0
160
Cloudflare Workers x AWS Lambdaの組み合わせユースケース / Cloudflare Workers x AWS Lambda Combination Use Case
seike460
PRO
2
310
Xcode 16のPreviewModifierと@Previewableを活用した効率的なプレビュー方法の考察
ojun9
2
160
【Go言語】ジェネリクス
tomo1227
0
170
How to use Macrobenchmark
veronikapj
0
160
Featured
See All Featured
What's new in Ruby 2.0
geeforr
338
31k
From Idea to $5000 a Month in 5 Months
shpigford
377
46k
How to Ace a Technical Interview
jacobian
274
23k
Code Review Best Practice
trishagee
58
16k
Rails Girls Zürich Keynote
gr2m
93
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
34
1.9k
BBQ
matthewcrist
82
9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
224
21k
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
Web Components: a chance to create the future
zenorocha
307
41k
Docker and Python
trallard
37
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
19k
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