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
11
1.8k
RubyConf China 17/11/2012 - [UNCUT] Become a Better Developer You Can
fredwu
31
1.8k
Other Decks in Programming
See All in Programming
React + TextAliveでカッコいいLyric Applicatioinを作ろう!!
tosuri13
0
400
Prolog入門
qnighy
4
1k
Kotlin 2.0が与えるAndroid開発の進化
masayukisuda
1
420
Developer Joy == Developer Productivity (really!)
hollycummins
1
220
Pythonで改めて考える「クラス(class)」の使いどころ
os1ma
4
900
Modernisation Progressive d’Applications PHP
hhamon
0
100
Securify_エンジニア採用資料
3shake
0
110
Patched fetch did not work
quramy
4
400
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
150
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
510
いまから追い上げる、Jetpack Compose トレーニング
nyafunta9858
0
610
Why Prism?
kddnewton
4
1.7k
Featured
See All Featured
Done Done
chrislema
180
16k
GitHub's CSS Performance
jonrohan
1030
450k
Debugging Ruby Performance
tmm1
72
12k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
123
18k
A better future with KSS
kneath
235
17k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
YesSQL, Process and Tooling at Scale
rocio
167
14k
Robots, Beer and Maslow
schacon
PRO
157
8.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
23
1.7k
Agile that works and the tools we love
rasmusluckow
327
20k
Speed Design
sergeychernyshev
22
430
Web development in the modern age
philhawksworth
205
10k
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