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
GraphQL in #kbkz_tech
Search
KOBA789
November 27, 2016
Programming
0
340
GraphQL in #kbkz_tech
歌舞伎座.tech #12 でLTした GraphQL に関するスライドです。
↓の方にあると思われる tng23 でやったスライドも見てね。
KOBA789
November 27, 2016
Tweet
Share
More Decks by KOBA789
See All by KOBA789
人工衛星のファームウェアをRustで書く理由
koba789
16
9k
令和最新版手のひらコンピュータ
koba789
14
8.7k
時の流れが許せない
koba789
0
220
ついに生産が終わったけどZ80でまだまだ遊びたい
koba789
5
4.5k
ISUCONの練習を楽しくたくさんやる方法
koba789
2
1.4k
Z80をRustで動かすまで年が越せない
koba789
0
330
ISUCON練習環境を最も簡単に用意する方法
koba789
2
3.3k
音をアレする
koba789
0
1k
メガネとBluetooth Low Energyでお喋りする
koba789
0
1.6k
Other Decks in Programming
See All in Programming
Cursorハンズオン実践!
eltociear
2
1.1k
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
580
PHPに関数型の魂を宿す〜PHP 8.5 で実現する堅牢なコードとは〜 #phpcon_hiroshima / phpcon-hiroshima-2025
shogogg
1
220
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
220
Devvox Belgium - Agentic AI Patterns
kdubois
1
120
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
1
150
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
310
Leading Effective Engineering Teams in the AI Era
addyosmani
4
380
CSC509 Lecture 05
javiergs
PRO
0
300
Cloudflare AgentsとAI SDKでAIエージェントを作ってみた
briete
0
140
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
390
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
110
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
A better future with KSS
kneath
239
18k
Building an army of robots
kneath
306
46k
Embracing the Ebb and Flow
colly
88
4.8k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Building Adaptive Systems
keathley
43
2.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
980
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Transcript
None
KOBA789 ࠓஜେֶͰB2 (ͦΖͦΖୀֶ) ࠷ۙΞΠΧπ͓͡͞Μͱͯ͠ੜ͖͍ͯ·͢ લʹGoͰProtocolBufferͬͯ·ͨ͠ JavaScript͕ϝΠϯͰɺRubyRustॻ͘
None
લఏ RESTΫι LTͳͷͰओޠେ͖Ί
͍ͨ͜͠ͱ ͍Ζ͍Ζ͋Δ͕
GraphQL
GraphQL • ΫΤϦ+εΩʔϚͷ༷ • self-documentedͳεΩʔϚ(SwaggerūŬťƀ) • serialization formatJSON • ݁ߏ͍͍ײ͡ͷܕγεςϜ(Unionͱ͔͋Δ)
• Introspection API͕͋Δ • ެࣜͷAPIίϯιʔϧ
{ articles { author { name } } } {
"articles": [ { "author": { "name": "Alice" } }, { "author": { "name": "Bob" } } ] }
None
ݴޠػೳͰॻ͖͍ͨͷͰ
ؾ࣋ͪ • ͔͔ͤͬͩ͘Βde-dupͱ͔΄͍͠ • ݁ہϗετݴޠͰ͋ΔJSͷܕγεςϜ͕ऑ͍ • σʔλιʔεʹSQL DBͱ͔Λ͏ͱ N+1͕͠Εͬͱى͜Δ
GraphQlͷະདྷͷ • ετϦʔϛϯάͱ͔Ͱ͖ΔΑ͏ʹͳΔΒ͍͠ • Server Pushͱ͔ • https://www.youtube.com/watch? v=ViXL0YQnioU