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
An Introduction to GraphQL
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Brian Mullan
June 28, 2017
Programming
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
An Introduction to GraphQL
The demos can be found here:
https://github.com/bmullan91/graphql-demos
Brian Mullan
June 28, 2017
Other Decks in Programming
See All in Programming
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
Event is what happens
moro
2
770
AmebaブログはKMPから卒業します
kmars0605
0
190
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
590
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
So, you think you're a good person
axbom
PRO
2
2.2k
A Modern Web Designer's Workflow
chriscoyier
699
190k
BBQ
matthewcrist
90
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
A designer walks into a library…
pauljervisheath
211
25k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Transcript
An Introduc+on to GraphQL Brian Mullan - @bmullan91 28/06/2017 -
ReactJS Dublin
whoami
Agenda • What is GraphQL • Its back story •
The query language & examples • Live coding demos ! • Key principles
WHAT IS GRAPHQL?
WHAT IT'S NOT...
What It's Not... • A database or a storage engine
• A query language for graph databases • A React or JS specific thing
SO WHAT IS IT?
GraphQL is a query language for APIs and a run8me
for fulfilling those queries with your exis8ng data. GraphQL provides a complete and understandable descrip8on of the data in your API. — graphql.org
None
TL;DR IT'S A SPECIFICATION
The Back Story • Circa 2011 the mobile revolu4on was
in full swing !" • HTML5 wrapper! Poor UX # • REST APIs $ • Under fetching: Mul4ple round trips to the server • Over fetching: Large JSON payloads • Versions, custom endpoints, coupling ...etc
GraphQL's Timeline • ! 2012 • " 2015 @ React
Conf • ⏩ 2017 20+ languages • $ Used by GitHub, TwiAer, Shopify, Khan Academy etc
Example Query { me { friends { name } }
}
Response { me: { friends: [ { name: 'John' }
{ name: 'Dick' } { name: 'Harry' } ] } }
Fields are func.ons { user(id: "123") { name profilePic(size: 200)
{ url } } }
Response { user: { name: "Brian", profilePic: { url: 'cdn.com/pic?size=200'
} } }
DEMO TIME
KEY PRINCIPLES
VERSIONLESS
GRAPHS NOT ENDPOINTS
None
None
THIN LAYER SINGLE RESPONSIBILITY
Source: graphql.org
TYPE SYSTEM & INTROSPECTION
None
MORE! • graphql.org • h+ps:/ /github.com/bmullan91/graphql-demos • h+ps:/ /github.com/chentsulin/awesome-graphql •
h+p:/ /graphql.org/swapi-graphql/
None