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
Refactoring_with_LightService.pdf
Search
Nestor G Pestelos Jr
July 18, 2013
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Refactoring_with_LightService.pdf
Nestor G Pestelos Jr
July 18, 2013
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
72
Other Decks in Programming
See All in Programming
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
210
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
Featured
See All Featured
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Docker and Python
trallard
47
4.2k
How to Ace a Technical Interview
jacobian
280
24k
It's Worth the Effort
3n
188
29k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Why Our Code Smells
bkeepers
PRO
340
58k
The World Runs on Bad Software
bkeepers
PRO
72
12k
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