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
250
React: Zero to Hero
alefesouza
2
410
Node.js Chatbots with Bot Framework
alefesouza
0
320
GraphQL: A new way to write APIs
alefesouza
0
360
Firebase as back-end
alefesouza
0
400
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
630
Web Components with Vanilla.js
alefesouza
0
560
Other Decks in Programming
See All in Programming
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
170
Realtime API 入門
riofujimon
0
140
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
530
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
280
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
470
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
290
C++でシェーダを書く
fadis
6
3.9k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
320
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
240
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
190
CSC509 Lecture 09
javiergs
PRO
0
140
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
4
2k
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
A designer walks into a library…
pauljervisheath
202
24k
Visualization
eitanlees
145
15k
KATA
mclloyd
29
14k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
How GitHub (no longer) Works
holman
310
140k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Fireside Chat
paigeccino
33
3k
Producing Creativity
orderedlist
PRO
341
39k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Building Adaptive Systems
keathley
38
2.3k
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