An introduction to GraphQL
Presented at WebDevTalks meetup in May 3rd
Who is that GraphQL all my friendsare talking about?#WebDevTalks@FerPeralesMGraphQL 101
View Slide
#WebDevTalks@FerPeralesM
#WebDevTalks@FerPeralesMSoftware EngineerFormer MagmaLabs / FreeAgent SoftwareFLOSS advocateHeavy Metal and Beer loverHost the RubyGDL communityFounder @ elbuencodigo.comIn Gregory Sallust I trust
#WebDevTalks@FerPeralesMWhat is GraphQL?
#WebDevTalks@FerPeralesM2012
#WebDevTalks@FerPeralesMREST
#WebDevTalks@FerPeralesMSpotify
#WebDevTalks@FerPeralesMGoal: get the name of all the tracksfrom a playlist called “Starred”created by an specific user
#WebDevTalks@FerPeralesMSuccess!
#WebDevTalks@FerPeralesMWe only needed
#WebDevTalks@FerPeralesM3 HTTP calls
#WebDevTalks@FerPeralesMDo an intensive operation in ourbackend (searching for the playlistwith the “Starred” name)
#WebDevTalks@FerPeralesMAnd getting three big payloads withunnecessary data**for our needs
#WebDevTalks@FerPeralesMGraphQL is, as the name mightsuggest, a query language
#WebDevTalks@FerPeralesMAdvantages
#WebDevTalks@FerPeralesMGet exactly what you want
#WebDevTalks@FerPeralesMNesting
#WebDevTalks@FerPeralesMStrongly typed
#WebDevTalks@FerPeralesMIntrospective
#WebDevTalks@FerPeralesMNo versioning
Demo#WebDevTalks@FerPeralesM
FerPerales/graphql_demo#WebDevTalks@FerPeralesM
ferperales/graphql-101#WebDevTalks@FerPeralesM
Fuentes#WebDevTalks@FerPeralesMhttps://medium.freecodecamp.com/so-whats-this-graphql-thing-i-keep-hearing-about-baf4d36c20cfhttp://blog.codeship.com/an-introduction-to-graphql-via-the-github-apihttp://facebook.github.io/graphql/http://thenewstack.io/graphql-data-query-language-resource-guidehttp://medium.freecodecamp.com/give-it-a-rest-use-graphql-for-your-apis-40a2761e6336http://dev.to/reactiveconf/why-i-believe-graphql-will-come-to-replace-rest
¡Gracias!#WebDevTalks@FerPeralesM