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 Your Mind From REST
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Lachlan
June 20, 2019
Programming
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Refactoring Your Mind From REST
Lachlan
June 20, 2019
More Decks by Lachlan
See All by Lachlan
How to convince your boss to use GraphQL
builtbyproxy
0
250
How to capture the other 90%
builtbyproxy
0
380
Side Projects
builtbyproxy
0
310
Source Control , What is it and why does it matter?
builtbyproxy
0
160
Other Decks in Programming
See All in Programming
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
220
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
560
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
390
AI時代のPHPer生存戦略 ~「言語、もうなんでもよくない?」に本気で向き合う~
vivion
0
760
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
1
140
FDEが実現するAI駆動経営の現在地
gonta
2
280
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
290
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
0
1.8k
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
200
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
710
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
500
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
300
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
470
We Have a Design System, Now What?
morganepeng
55
8.3k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
250
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Ruling the World: When Life Gets Gamed
codingconduct
0
300
Chasing Engaging Ingredients in Design
codingconduct
0
270
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
380
Google's AI Overviews - The New Search
badams
0
1.1k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Transcript
A shameless canva ripoff theme LACHLAN YOUNG Refactoring your mind
from REST @BuiltByProxy
Who Am I? Lachlan Young - React and React Native
Full Stack Developer - Working Full Time in Australia at Max Kelsen @BuiltByProxy
The Project Stack React Native AWS AppSync Apollo GraphQL AWS
Lambda @BuiltByProxy
The Project Stack React Native AWS AppSync Apollo GraphQL AWS
Lambda @BuiltByProxy
Todays Talk @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy
SO WHAT IS GRAPHQL? @BuiltByProxy TO ME; It's a simple
API written with JSON It Upgrades REST's old Methods
UPGRADES THE REST METHODS: GET DELETE PATCH PUT POST QUERY
SUBSCRIPTION MUTATION
BUT HOW DO WE IMPLEMENT IT? CLIENT | SERVER |
DATABASE WHERE?
TODAYS TOOLS
GRAPHIQL IDE
SERVERLESS FILE
Business Logic calls. This can be your new route SERVERLESS
FUNCTION It's starting to look a lot like REST Replace your logs with external
YOU NOW HAVE ONE POINT OF TRUTH
Get User We don't have to get all the data
We only get what we want Removes the need for filtering logic or multiple different endpoints
The Schema ! mark determines if it is required or
not Scalar types List definitions
BUILTBYPROXY/APPSYNC-SERVERLESS-BOILERPLATE @BuiltByProxy