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.8k
Other Decks in Programming
See All in Programming
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
7
3.2k
プロダクト横断分析に役立つ、事前集計しないサマリーテーブル設計
hanon52_
2
490
Being an ethical software engineer
xgouchet
PRO
0
220
Qiita Bash
mercury_dev0517
2
210
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
1
150
SwiftUI API Design Lessons
niw
1
300
小田原でみんなで一句詠みたいな #phpcon_odawara
stefafafan
0
350
note の Elasticsearch 更新系を支える技術
tchov
0
170
状態と共に暮らす:ステートフルへの挑戦
ypresto
3
950
Make Parsers Compatible Using Automata Learning
makenowjust
2
5.8k
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
120
파급효과: From AI to Android Development
l2hyunwoo
0
140
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
7
400
Faster Mobile Websites
deanohume
306
31k
Code Reviewing Like a Champion
maltzj
523
40k
Designing Experiences People Love
moore
142
24k
KATA
mclloyd
29
14k
Six Lessons from altMBA
skipperchong
28
3.7k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Designing for Performance
lara
608
69k
Speed Design
sergeychernyshev
29
910
Building Applications with DynamoDB
mza
94
6.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
540
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
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