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
Refactoring_with_LightService.pdf
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Nestor G Pestelos Jr
July 18, 2013
Programming
0
95
Refactoring_with_LightService.pdf
Nestor G Pestelos Jr
July 18, 2013
Tweet
Share
More Decks by Nestor G Pestelos Jr
See All by Nestor G Pestelos Jr
How_to_Bring_Up_GitLab.pdf
ngpestelos
0
160
Development Using Virtualization
ngpestelos
0
60
Other Decks in Programming
See All in Programming
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
470
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
290
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
240
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
CSC307 Lecture 08
javiergs
PRO
0
670
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
CSC307 Lecture 06
javiergs
PRO
0
690
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
AtCoder Conference 2025
shindannin
0
1.1k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Writing Fast Ruby
sferik
630
62k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
How to Ace a Technical Interview
jacobian
281
24k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Navigating Team Friction
lara
192
16k
Test your architecture with Archunit
thirion
1
2.2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Transcript
Refactoring with LightService Nestor Pestelos, Jr. @ngpestelos
None
• Old way: object graphs, fields, nouns • New way:
pipelines, context, verbs • LS provides Actions and Organizers • Tests tl;dr
Problem (Data Synchronization) 1. create web service clients 2. pull
data from an API (A) 3. pull data from another API (B) 4. compare A and B then create/update/delete 5. do it again
Object Graph
LightService Actions and Organizer Organizer Action Action Action Action
Testing • rspec • Organizers (actions called in sequence) •
Actions (requirements not met/met)
Salamat! https://pinboard.in/u:ngpestelos/t:phrug_201307