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
370
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
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
680
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.5k
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.5k
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
120
Hanami and htmx
bkuhlmann
0
220
Netty Chicago Java User Group 2024-04-17
sullis
0
200
AppRouter Panel Talk
yosuke_furukawa
PRO
1
460
GitHub Copilotのススメ
marcy731
1
220
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
180
Going beyond Apache Parquet's default settings
xhochy
0
130
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
170
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.2k
Writing Fast Ruby
sferik
622
60k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
20
1.6k
For a Future-Friendly Web
brad_frost
172
9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
14
1.5k
Unsuck your backbone
ammeep
663
57k
Code Reviewing Like a Champion
maltzj
515
39k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
188
16k
A designer walks into a library…
pauljervisheath
201
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
22
1.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
228
130k
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