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
Transcript
46 slides
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
More Decks by Fernando Perales
See All by Fernando Perales
Slowly we rot: signs of a Rails app’s decay
ferperales
0
52
The Ruby Guide to Responsible LLM integration
ferperales
0
94
Anonimización de bases de datos con PostgreSQL - nerdearla
ferperales
0
130
Taller de creación de propuesta para conferencias
ferperales
0
26
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
130
Guía práctica para convertirse en contribuidor de open source en 10 años o más
ferperales
0
110
Anonimización de bases de datos con PostgreSQL
ferperales
0
130
Other Decks in Programming
See All in Programming
エラーチャンネルのボールを拾い続けて鍛えるエンジニアの地力 / phpcon-niigata2026
meihei3
1
470
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
290
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
150
祈るテストから、探索するテストへ 〜Lincheckではじめる並行処理テスト〜
yyh_gl
0
310
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
230
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
16
9.4k
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
750
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
380
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
680
Git: the NoSQL Database
bkeepers
PRO
433
67k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
The agentic SEO stack - context over prompts
schlessera
0
1k
My Coaching Mixtape
mlcsv
0
390
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Fireside Chat
paigeccino
43
4.1k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k