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
The State of GraphQL in 2018
Search
Jamie Barton
May 03, 2018
Programming
0
68
The State of GraphQL in 2018
https://www.youtube.com/watch?v=7M6v_PIRsKw
Intro + Community resources + Demo of GraphQL
Jamie Barton
May 03, 2018
Tweet
Share
More Decks by Jamie Barton
See All by Jamie Barton
The Content Mesh - Berlin
notrab
0
26
GraphQL in a REST world
notrab
0
140
React Server Side Rendering with Next.js
notrab
0
140
Other Decks in Programming
See All in Programming
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
Introduction for Open Source Swift Workshop
giginet
PRO
0
1.1k
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
180
オブジェクト指向のリ・オリエンテーション~歴史を振り返り、AI時代に向きなおる~
hanyudaeiiti
9
5.6k
Code Reviews
bkuhlmann
4
870
GitHub Actionsで泣かないためにやっておきたい設定 / Recommended GHA settings to avoid crying
pinkumohikan
3
480
ドメイン・ファーストで考える問題解決に役立つモデル設計 / Domain First Model Design
suzushin54
2
2.1k
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
ゆるい個人開発のススメ
kuroppe1819
10
930
Java 22 Overview
kishida
1
160
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
25
7.7k
今、知っておきたい! 生成AIエージェントの世界
elith
3
340
Featured
See All Featured
Building Your Own Lightsaber
phodgson
97
5.7k
Mobile First: as difficult as doing things right
swwweet
216
8.6k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Happy Clients
brianwarren
91
6.4k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Robots, Beer and Maslow
schacon
PRO
154
7.9k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Fireside Chat
paigeccino
19
2.6k
Docker and Python
trallard
33
2.7k
Designing for humans not robots
tammielis
247
25k
RailsConf 2023
tenderlove
1
530
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
Transcript
@notrab GraphQL
@notrab
@notrab Jamie Barton
@notrab
@notrab Developer Success
@notrab Developer Evangelist
@notrab Developer Advocate
@notrab Developer Success Engineer
@notrab • React • Redux • TypeScript • NextJS •
Styled components • Node • GraphQL
@notrab • React • Redux • TypeScript • NextJS •
Styled components • Node • GraphQL
@notrab this.setState({ graphql: 2018 })
@notrab GraphQL
@notrab March 2017
@notrab Dispel
@notrab
@notrab
@notrab
@notrab Moving on…
@notrab GraphQL is not a database
@notrab GraphQL is not a REST killer
@notrab json:api spec is good alternative
@notrab – Monzo “The Monzo API is designed to be
a predictable and intuitive interface for interacting with users’ accounts. We offer both a REST API and webhooks.”
@notrab GraphQL is not just a React thing
@notrab But it’s awesome with React
@notrab What is GraphQL?
@notrab A specification
@notrab A query language
@notrab A toolbox
@notrab A choice
@notrab Most importantly
@notrab GraphQL allows you to focus on data
@notrab Not endpoints
@notrab
@notrab
@notrab What benefits of using GraphQL?
@notrab Self-documenting
@notrab No more client- specific endpoints
@notrab Strongly typed + Scalars
@notrab Real-time data with Subscriptions
@notrab Incrementally adoptable
@notrab Easier versioning
@notrab Enables faster development
@notrab So what does it look like?
@notrab /v2/users/1/friends /v2/orders?include=items /posts/3/author/friends
@notrab { users(id: 2) { friends { id name friends
{ name } } } orders { items { id name } } }
@notrab
@notrab • Mutations • Subscriptions • Fragments
@notrab • Mutations • Subscriptions • Fragments
@notrab
@notrab
@notrab
@notrab • Mutations • Subscriptions • Fragments
@notrab
@notrab
@notrab
@notrab • Mutations • Subscriptions • Fragments
@notrab
@notrab
@notrab
@notrab Field Aliases
@notrab Who is using GraphQL in production?
@notrab
@notrab
@notrab <br />
@notrab Welcome back
@notrab Using GraphQL today
@notrab Typical stack
@notrab A typical getting started journey… • Learn how to
define a schema + resolver • Apollo Launchpad is good here • Level up prototyping with Prisma Cloud
@notrab Apollo Launchpad
@notrab Prisma Cloud
@notrab Implementations • Server side • Client side • Middleware
@notrab Server side summary • Define schema • Write resolvers
• Connect a database • Connect middleware • Handle authentication
@notrab Server side libraries • C# / .NET • Clojure
• Elixir • Lua • Go • JavaScript • PHP • Python • Scala • Ruby • Groovy • And more
@notrab Popular server side tools • Apollo Launchpad • Apollo
Server • Apollo Engine • GraphQL Yoga
@notrab Popular client side tools • Apollo Boost • Apollo
Client 2.1 • graphcool/graphql-request • FormidableLabs/urql • fetch
@notrab
@notrab Communities • Graphcool (Prisma) forum + Slack • Apollo
Slack • Spectrum.chat • Twitter #graphql
@notrab
@notrab Tutorials / Guides • howtographql.com • graphql.com • graphql.org
• YouTube • Medium (search GraphQL with X)
@notrab A choice