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
600
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Implementing GraphQL with PHP
https://github.com/alefesouza/talk-graphql-php
Alefe Souza
July 20, 2019
More Decks by Alefe Souza
See All by Alefe Souza
NativeScript: Native Apps with Angular
alefesouza
0
500
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
330
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
350
React: Zero to Hero
alefesouza
2
530
Node.js Chatbots with Bot Framework
alefesouza
0
420
GraphQL: A new way to write APIs
alefesouza
0
450
Firebase as back-end
alefesouza
0
490
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
720
Web Components with Vanilla.js
alefesouza
0
690
Other Decks in Programming
See All in Programming
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
110
act2-costs.pdf
sumedhbala
0
110
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
160
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
440
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
130
Foundation Models frameworkで画像分析
ryodeveloper
1
120
『コードを書く以外の』エンジニアリング〜課金基盤移行プロジェクト推進のためのTips4選
yuriko1211
0
500
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
0
200
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
1B+ /day規模のログを管理する技術
broadleaf
0
140
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
130
自作OSでスライド発表する
uyuki234
1
3.8k
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
430
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
590
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.6k
A designer walks into a library…
pauljervisheath
211
24k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
830
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
420
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
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