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
CSC307 Lecture 06
javiergs
PRO
0
690
AI & Enginnering
codelynx
0
110
CSC307 Lecture 02
javiergs
PRO
1
780
並行開発のためのコードレビュー
miyukiw
0
260
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
590
AI巻き込み型コードレビューのススメ
nealle
2
400
AgentCoreとHuman in the Loop
har1101
5
240
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
130
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.3k
Patterns of Patterns
denyspoltorak
0
1.4k
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Mobile First: as difficult as doing things right
swwweet
225
10k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
Testing 201, or: Great Expectations
jmmastey
46
8k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Mind Mapping
helmedeiros
PRO
0
88
Amusing Abliteration
ianozsvald
0
100
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