Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
No content
Slide 2
Slide 2 text
KOBA789 ࠓஜେֶͰB2 (ͦΖͦΖୀֶ) ࠷ۙΞΠΧπ͓͡͞Μͱͯ͠ੜ͖͍ͯ·͢ લʹGoͰProtocolBufferͬͯ·ͨ͠ JavaScript͕ϝΠϯͰɺRubyRustॻ͘
Slide 3
Slide 3 text
No content
Slide 4
Slide 4 text
લఏ RESTΫι LTͳͷͰओޠେ͖Ί
Slide 5
Slide 5 text
͍ͨ͜͠ͱ ͍Ζ͍Ζ͋Δ͕
Slide 6
Slide 6 text
GraphQL
Slide 7
Slide 7 text
GraphQL • ΫΤϦ+εΩʔϚͷ༷ • self-documentedͳεΩʔϚ(SwaggerūŬťƀ) • serialization formatJSON • ݁ߏ͍͍ײ͡ͷܕγεςϜ(Unionͱ͔͋Δ) • Introspection API͕͋Δ • ެࣜͷAPIίϯιʔϧ
Slide 8
Slide 8 text
{ articles { author { name } } } { "articles": [ { "author": { "name": "Alice" } }, { "author": { "name": "Bob" } } ] }
Slide 9
Slide 9 text
No content
Slide 10
Slide 10 text
ݴޠػೳͰॻ͖͍ͨͷͰ
Slide 11
Slide 11 text
ؾ࣋ͪ • ͔͔ͤͬͩ͘Βde-dupͱ͔΄͍͠ • ݁ہϗετݴޠͰ͋ΔJSͷܕγεςϜ͕ऑ͍ • σʔλιʔεʹSQL DBͱ͔Λ͏ͱ N+1͕͠Εͬͱى͜Δ
Slide 12
Slide 12 text
GraphQlͷະདྷͷ • ετϦʔϛϯάͱ͔Ͱ͖ΔΑ͏ʹͳΔΒ͍͠ • Server Pushͱ͔ • https://www.youtube.com/watch? v=ViXL0YQnioU