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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alefe Souza
July 20, 2019
Programming
0
580
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
480
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
310
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
340
React: Zero to Hero
alefesouza
2
510
Node.js Chatbots with Bot Framework
alefesouza
0
400
GraphQL: A new way to write APIs
alefesouza
0
440
Firebase as back-end
alefesouza
0
470
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
700
Web Components with Vanilla.js
alefesouza
0
670
Other Decks in Programming
See All in Programming
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
110
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
430
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
150
登壇資料を作る時に意識していること #登壇資料_findy
konifar
5
2.1k
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
100
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
200
AIに仕事を丸投げしたら、本当に楽になれるのか
dip_tech
PRO
0
180
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
130
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
500
Oxlint JS plugins
kazupon
1
1.2k
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
360
Beyond the Basics: Signal Forms
manfredsteyer
PRO
0
110
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
700
エンジニアに許された特別な時間の終わり
watany
106
240k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
The SEO identity crisis: Don't let AI make you average
varn
0
400
The browser strikes back
jonoalderson
0
750
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
Between Models and Reality
mayunak
2
210
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
300
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
210
Exploring anti-patterns in Rails
aemeredith
2
280
How STYLIGHT went responsive
nonsquared
100
6k
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