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
GraphQL 101
Search
Fernando Perales
May 03, 2017
Programming
370
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GraphQL 101
An introduction to GraphQL
Presented at WebDevTalks meetup in May 3rd
Fernando Perales
May 03, 2017
More Decks by Fernando Perales
See All by Fernando Perales
Slowly we rot: signs of a Rails app’s decay
ferperales
0
41
The Ruby Guide to Responsible LLM integration
ferperales
0
84
Anonimización de bases de datos con PostgreSQL - nerdearla
ferperales
0
120
Taller de creación de propuesta para conferencias
ferperales
0
19
Let's give REST a rest: exploring the state of gRPC in Ruby
ferperales
0
230
Guía Práctica para Convertirse en Contribuidor de Open Source en 10 Años (o más)
ferperales
0
110
¿Es convertirte en manager tan malo como todo mundo dice?
ferperales
0
120
Guía práctica para convertirse en contribuidor de open source en 10 años o más
ferperales
0
99
Anonimización de bases de datos con PostgreSQL
ferperales
0
120
Other Decks in Programming
See All in Programming
Are APIs Still Relevant in the AI Era?
soyuka
0
460
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
120
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
250
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
590
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
480
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
420
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
410
Workers Cache を知る
syumai
0
360
Simple Storage Service(S3) is not simple
iwatsukayura
0
280
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
2
1.9k
SREの越境 / SRE Collaboration
y0hgi
2
310
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
Rails Girls Zürich Keynote
gr2m
96
14k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
So, you think you're a good person
axbom
PRO
2
2.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
The agentic SEO stack - context over prompts
schlessera
0
970
Balancing Empowerment & Direction
lara
6
1.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Typedesign – Prime Four
hannesfritz
42
3.2k
Transcript
Who is that GraphQL all my friends are talking about?
#WebDevTalks @FerPeralesM GraphQL 101
<me> #WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM Software Engineer Former MagmaLabs / FreeAgent Software FLOSS
advocate Heavy Metal and Beer lover Host the RubyGDL community Founder @ elbuencodigo.com In Gregory Sallust I trust
</me> #WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM What is GraphQL?
#WebDevTalks @FerPeralesM 2012
#WebDevTalks @FerPeralesM REST
#WebDevTalks @FerPeralesM Spotify
#WebDevTalks @FerPeralesM Goal: get the name of all the tracks
from a playlist called “Starred” created by an specific user
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM Success!
#WebDevTalks @FerPeralesM We only needed
#WebDevTalks @FerPeralesM 3 HTTP calls
#WebDevTalks @FerPeralesM Do an intensive operation in our backend (searching
for the playlist with the “Starred” name)
#WebDevTalks @FerPeralesM And getting three big payloads with unnecessary data*
*for our needs
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM GraphQL is, as the name might suggest, a
query language
#WebDevTalks @FerPeralesM Advantages
#WebDevTalks @FerPeralesM Get exactly what you want
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM Nesting
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM Strongly typed
#WebDevTalks @FerPeralesM Introspective
#WebDevTalks @FerPeralesM
#WebDevTalks @FerPeralesM No versioning
Demo #WebDevTalks @FerPeralesM
FerPerales/graphql_demo #WebDevTalks @FerPeralesM
ferperales/graphql-101 #WebDevTalks @FerPeralesM
Fuentes #WebDevTalks @FerPeralesM https://medium.freecodecamp.com/so-whats-this-graphql-thing-i-keep-hearing-about-baf4d36c20cf http://blog.codeship.com/an-introduction-to-graphql-via-the-github-api http://facebook.github.io/graphql/ http://thenewstack.io/graphql-data-query-language-resource-guide http://medium.freecodecamp.com/give-it-a-rest-use-graphql-for-your-apis-40a2761e6336 http://dev.to/reactiveconf/why-i-believe-graphql-will-come-to-replace-rest
¡Gracias! #WebDevTalks @FerPeralesM