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
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
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
高速開発のためのコード整理術
sutetotanuki
1
400
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
組織で育むオブザーバビリティ
ryota_hnk
0
180
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.5k
2026年 エンジニアリング自己学習法
yumechi
0
140
ぼくの開発環境2026
yuzneri
0
230
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
AgentCoreとHuman in the Loop
har1101
5
240
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
220
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.2k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Automating Front-end Workflow
addyosmani
1371
200k
Building AI with AI
inesmontani
PRO
1
700
Designing for Performance
lara
610
70k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Building an army of robots
kneath
306
46k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
180
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