Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
570
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
470
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
290
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
330
React: Zero to Hero
alefesouza
2
500
Node.js Chatbots with Bot Framework
alefesouza
0
390
GraphQL: A new way to write APIs
alefesouza
0
430
Firebase as back-end
alefesouza
0
460
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
690
Web Components with Vanilla.js
alefesouza
0
630
Other Decks in Programming
See All in Programming
dnx で実行できるコマンド、作ってみました
tomohisa
0
140
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.8k
ID管理機能開発の裏側 高速にSaaS連携を実現したチームのAI活用編
atzzcokek
0
210
認証・認可の基本を学ぼう前編
kouyuume
0
190
Level up your Gemini CLI - D&D Style!
palladius
1
180
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
8
20k
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
AIコーディングエージェント(Manus)
kondai24
0
160
開発に寄りそう自動テストの実現
goyoki
1
770
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
590
tparseでgo testの出力を見やすくする
utgwkk
1
190
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
6
2.1k
Featured
See All Featured
Writing Fast Ruby
sferik
630
62k
Music & Morning Musume
bryan
46
7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
How to train your dragon (web standard)
notwaldorf
97
6.4k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
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