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
500
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
400
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
240
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
260
React: Zero to Hero
alefesouza
2
420
Node.js Chatbots with Bot Framework
alefesouza
0
320
GraphQL: A new way to write APIs
alefesouza
0
370
Firebase as back-end
alefesouza
0
410
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
630
Web Components with Vanilla.js
alefesouza
0
570
Other Decks in Programming
See All in Programming
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
130
Refactor your code - refactor yourself
xosofox
1
260
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
130
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
790
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
2
260
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
550
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
3
390
103 Early Hints
sugi_0000
1
230
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
330
快速入門可觀測性
blueswen
0
360
Beyond ORM
77web
7
810
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
390
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Documentation Writing (for coders)
carmenintech
66
4.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
The Invisible Side of Design
smashingmag
298
50k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
98
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