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
560
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
460
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
290
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
320
React: Zero to Hero
alefesouza
2
480
Node.js Chatbots with Bot Framework
alefesouza
0
380
GraphQL: A new way to write APIs
alefesouza
0
420
Firebase as back-end
alefesouza
0
450
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
680
Web Components with Vanilla.js
alefesouza
0
620
Other Decks in Programming
See All in Programming
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
2.8k
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
700
気づいて!アプリからのSOS 〜App Store Connect APIで始めるパフォーマンス健康診断〜
waka12
0
260
WebエンジニアがSwiftをブラウザで動かすプレイグラウンドを作ってみた
ohmori_yusuke
0
170
CSS Linter の現在地 2025年のベストプラクティスを探る
ryo_manba
10
3.2k
CSC509 Lecture 01
javiergs
PRO
1
430
Swiftビルド弾丸ツアー - Swift Buildが作る新しいエコシステム
giginet
PRO
0
1.6k
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
220
株式会社 Sun terras カンパニーデック
sunterras
0
190
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
1.5k
SpecKitでどこまでできる? コストはどれくらい?
leveragestech
0
440
CSC305 Lecture 01
javiergs
PRO
1
380
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6.1k
Balancing Empowerment & Direction
lara
4
670
Fireside Chat
paigeccino
40
3.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Being A Developer After 40
akosma
91
590k
Music & Morning Musume
bryan
46
6.8k
Visualization
eitanlees
148
16k
A designer walks into a library…
pauljervisheath
208
24k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
53k
GitHub's CSS Performance
jonrohan
1032
460k
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