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
320
GraphQL in #kbkz_tech
歌舞伎座.tech #12 でLTした GraphQL に関するスライドです。
↓の方にあると思われる tng23 でやったスライドも見てね。
KOBA789
November 27, 2016
Tweet
Share
More Decks by KOBA789
See All by KOBA789
ついに生産が終わったけどZ80でまだまだ遊びたい
koba789
5
4k
ISUCONの練習を楽しくたくさんやる方法
koba789
2
870
Z80をRustで動かすまで年が越せない
koba789
0
170
ISUCON練習環境を最も簡単に用意する方法
koba789
2
3.1k
音をアレする
koba789
0
830
メガネとBluetooth Low Energyでお喋りする
koba789
0
1.5k
Rustでon-diskなB+Treeを作ったときの細かな話
koba789
11
1.8k
音の出るCPUを作っている途中
koba789
5
4.6k
自宅サーバーでbottlerocketを動かしてk8sクラスタを組む
koba789
1
1.2k
Other Decks in Programming
See All in Programming
Visual StudioのGitHub Copilotでいろいろやってみる
tomokusaba
1
180
2024年のWebフロントエンドのふりかえりと2025年
sakito
3
260
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
520
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
8
1.2k
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
1
440
GoとPHPのインターフェイスの違い
shimabox
2
200
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
130
color-scheme: light dark; を完全に理解する
uhyo
6
460
Grafana Cloudとソラカメ
devoc
0
180
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
9
1.8k
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
810
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
32
6.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
How to train your dragon (web standard)
notwaldorf
91
5.8k
Designing for Performance
lara
604
68k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
We Have a Design System, Now What?
morganepeng
51
7.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Why Our Code Smells
bkeepers
PRO
336
57k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
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