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
Implementing GraphQL with PHP
Search
Alefe Souza
July 20, 2019
Programming
0
440
Implementing GraphQL with PHP
https://github.com/alefesouza/talk-graphql-php
Alefe Souza
July 20, 2019
Tweet
Share
More Decks by Alefe Souza
See All by Alefe Souza
NativeScript: Native Apps with Angular
alefesouza
0
330
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
200
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
200
React: Zero to Hero
alefesouza
2
380
Node.js Chatbots with Bot Framework
alefesouza
0
280
GraphQL: A new way to write APIs
alefesouza
0
320
Firebase as back-end
alefesouza
0
350
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
520
Web Components with Vanilla.js
alefesouza
0
480
Other Decks in Programming
See All in Programming
WinActorの勉強を継続する方法
tamai_63
0
130
Jetpack Composeとデザインシステム
rmakiyama
0
240
AmperとFleetを使ったAndroidアプリ
yoppie
0
300
株式会社ゼネテック
genetec
0
130
How to improve maintainability and readability of your automated tests? ( #scrumniigata )
teyamagu
PRO
1
130
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
620
Amazon Aurora Serverless v2が意外と高かった話と、AWS Database Migration Serviceの話
satoshi256kbyte
1
110
freeeのエンジニアが 就活で出そうな コーディングテストを 解説してみる
freee
1
180
slog登場に伴うloggerの取り回し手法の見直し / kamakura.go #6
arthur1
0
160
欠陥を早期に発見するための Software Engineer in Test とその重要性 / What is Software Engineer in Test and How they works
orgachem
PRO
18
2.5k
Good first issues of TypeProf
mame
4
770
スタックトレース始めてみた
kuro_kurorrr
5
1.2k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
133
6.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
In The Pink: A Labor of Love
frogandcode
138
21k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Infographics Made Easy
chrislema
238
18k
Writing Fast Ruby
sferik
622
60k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
188
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
The Invisible Side of Design
smashingmag
294
49k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Transcript
Globalcode – Open4education Implementando GraphQL com PHP Alefe Souza Trilha
PHP @alefesouza https://as.dev
Globalcode – Open4education Alefe Souza @alefesouza https://as.dev Full Stack Developer
@alefesouza Programador PHP desde os 17 anos, instrutor de desenvolvimento de software, formado em análise e desenvolvimento de sistemas, Microsoft Specialist em tecnologias web.
Globalcode – Open4education Agenda • O que é GraphQL •
Conceitos básicos • Demo • Implementação em Laravel @alefesouza https://as.dev
Globalcode – Open4education @alefesouza https://as.dev GraphQL? Uma especificação de linguagem
de consulta de APIs, desenvolvida pelo Facebook.
Globalcode – Open4education @alefesouza https://as.dev Conceitos básicos • Tipos •
Queries • Mutations
Globalcode – Open4education @alefesouza https://as.dev Tipos Permitem especificar objetos de
entrada e saída, impedindo a requisição caso ocorra algo fora do padrão.
Globalcode – Open4education @alefesouza https://as.dev Queries Utilizadas para consultas no
endpoint único, também é muito fácil de solicitar apenas o que os campos necessários.
Globalcode – Open4education @alefesouza https://as.dev Mutations Utilizadas para realizar qualquer
tipo de alteração nos dados, equivalente ao POST, PUT, PATCH, DELETE, identificados pelo nome.
Globalcode – Open4education @alefesouza https://as.dev Onde funciona?
Globalcode – Open4education @alefesouza https://as.dev Onde funciona?
Globalcode – Open4education @alefesouza https://as.dev Como iniciar $ composer install
webonyx/graphql-php
Globalcode – Open4education @alefesouza https://as.dev Demo! http://bit.ly/talk-graphql-php
Globalcode – Open4education @alefesouza https://as.dev Implementação no Laravel $ composer
install rebing/graphql-laravel $ php artisan vendor:publish --provider="Rebing\GraphQL\GraphQLServiceProvider"
Globalcode – Open4education @alefesouza https://as.dev Obrigado! @alefesouza https://bit.ly/talk-graphql-php
None