Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
RORO 06/2012 - Bustle & API Taster
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Fred Wu
June 28, 2012
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RORO 06/2012 - Bustle & API Taster
Fred Wu
June 28, 2012
Transcript
25 slides
@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
More Decks by Fred Wu
See All by Fred Wu
RubyConf China 17/11/2012 - Become a Better Developer You Can
fredwu
11
2k
RubyConf China 17/11/2012 - [UNCUT] Become a Better Developer You Can
fredwu
31
2k
Other Decks in Programming
See All in Programming
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
270
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
330
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
210
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.9k
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
340
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
190
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
150
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
1.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
570
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
300
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
840
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Prompt Engineering for Job Search
mfonobong
0
590
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Optimizing for Happiness
mojombo
378
71k