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
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
800
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
Raku Raku Notion 20260128
hareyakayuruyaka
0
370
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
280
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
230
Package Management Learnings from Homebrew
mikemcquaid
0
230
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
150
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
150
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
37k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
68
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
KATA
mclloyd
PRO
34
15k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
110
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
110
Typedesign – Prime Four
hannesfritz
42
3k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
430
The untapped power of vector embeddings
frankvandijk
1
1.6k
The Spectacular Lies of Maps
axbom
PRO
1
530
Between Models and Reality
mayunak
1
200
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