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
Highly Dynamic WordPress Sites with Gatsby and ...
Search
Zac Gordon
February 03, 2020
Technology
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Highly Dynamic WordPress Sites with Gatsby and WordPress
Presentation at Gatsby Days LA
Zac Gordon
February 03, 2020
More Decks by Zac Gordon
See All by Zac Gordon
How We Can Make WordPress Better for the JAMstack
zgordon
0
340
Decoupled Days - JAMstack and WordPress for 2020
zgordon
0
200
The State of JavaScript and WordPress in 2020
zgordon
0
970
100 Things to Know About Building, Selling and Supporting Online Courses and Content
zgordon
0
700
How the New Redux Based Data API is Changing Everything in WordPress*
zgordon
0
420
The Data API in WordPress - WCMIA 2019
zgordon
0
1.1k
Building Custom WordPress Blocks with React - WCPHX 2019
zgordon
0
95
React for Gutenberg, WordPress & Beyond - WordCamp Baltimore 2018
zgordon
0
270
WordCamp Seattle 2017 JavaScript Workshop
zgordon
0
1.1k
Other Decks in Technology
See All in Technology
From Prompt Engineering to Loop Engineering
shibuiwilliam
1
230
ロボティクスの技術 / Robotics Technology
ks91
PRO
0
130
AIチャットの改善から見えた、良いAI体験とは / What Constitutes a Good AI Experience: Insights from Improving AI Chat
kubode
0
120
AI時代に求められる技術力 フロンティア・クリエイティビティ / Technical Excellence in the AI Era: Frontier Creativity
kaonavi
0
110
OTel × Datadog で 「AI活用」を計測し、改善に繋げる
shihochan
2
640
ぼっちではじめた登壇が「51名」「241件」の発信に化けた
subroh0508
1
310
千葉での単身赴任からAWSをやり続け、千葉に戻ってきた話
yama3133
1
120
Multi-Agent並列開発を 安全に回すための技術 / Technology for Safely Multi-Agent Parallel Development
tooppoo
0
180
AIチャット検索改善の3週間
kworkdev
PRO
2
180
Comment regagner la souveraineté de vos données tout en étant payé grâce à Nostr !
rlifchitz
0
200
螺旋型キャリアの生存戦略 / kinoko-conf2026
rakus_dev
1
1k
AI 不只幫你寫 Code: 當專案從 300 暴增到 1500, 我們如何撐住 DevOps
appleboy
0
230
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
310
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
370
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
330
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
450
Git: the NoSQL Database
bkeepers
PRO
432
67k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
440
Test your architecture with Archunit
thirion
1
2.3k
Transcript
Highly Dynamic Gatsby Sites With WordPress
Hi! I'M ZAC Static & Headless WordPress Community Builder at
Strattic Hosting Educator at JavaScript for WordPress, Frontend Masters, Udacity, Udemy, Treehouse @zgordon gatsbyWPthemes.com
GIVE THANKS @JASONBAHL @MARCYSUTTON @HUSSAIN_THAJ @MUHSINLK @KIDUNOT89 @ALEXADARK @PEHAA @JLENGSTORF
@SCOTTBOLINGER @CHRISBISCARDI @KELLENMACE @ALEXANDERBYOUNG @TYLBAR @THEJEFFMATSON
Dynamic Sites A portion of the content is queried from
WordPress on the client side after the build process is complete. Static Sites Content is queried and created during build time
COMMENTS FORMS MEMBERSHIPS ECOMMERCE LMS GUTENBERG Dynamic Components
CODE IT Write the GraphQL or REST API requests needed
to create the functionality you want. DYNAMIC APPROACHES SASS IT Use a 3rd party service to get the functionality you want.
EXACTLY WHAT YOU WANT EXTENDABLE CODE IT + - SASS
IT DEVELOPMENT TIME & SKILL MAINTENANCE COSTS LITTLE / NO CUSTOM CODING MAINTAINED MAY NOT BE EXTENDABLE OR EVEN EXIST! COSTS
Comments
KEEP IT NATIVE COMMENTS CODE IT CUSTOM SASS IT
KEEP IT NATIVE COMMENTS 1 Code a custom comment form
2 Use Apollo and GraphQL to send comment to WP 3 Trigger rebuild after moderation * Check for new comments client side
COMMENTS tnorthstack.com/dynamic-comments-gatsby-wordpresst
COMMENTS
COMMENTS
COMMENTS github.com/zgordon/gatsby-wordpress-course
COMMENTS CODE IT CUSTOM 1 Code a comment form in
Gatsby 2 Save entries somewhere* 3 Setup moderation (and anti-spam)
COMMENTS jamstack-comments.netlify.com
COMMENTS css-tricks.com/jamstack-comments
COMMENTS
COMMENTS 1 Find the right one 2 Signup (Pay) 3
Embed / Install Pluing SASS IT
COMMENTS SASS IT
COMMENTS
KEEP IT NATIVE COMMENTS CODE IT CUSTOM SASS IT
Forms
FORMS WORDPRESS PLUGIN ROLL YOUR OWN SASS IT
COMMENTS
FORMS WORDPRESS PLUGIN 1 Find WP REST API or WP
GraphQL Compatible Plugin 2 Parse (or Custom Code) Form
FORMS gatsbyjs.org/packages/gatsby-source-gravityforms/
FORMS
FORMS github.com/harness-software/wp-graphql-gravity-forms
FORMS
FORMS GatsbyWPthemes.com
FORMS
FORMS ROLL YOUR OWN 1 Code Custom Form in Gatsby
2 Store Form Submissions 3 Validate(?) Send Emails Check for new comments client side
FORMS
FORMS
FORMS
FORMS SASS IT 1 Find the right one 2 Signup
(Pay) 3 Embed / Install Pluing
FORMS netlify.com/products/forms
FORMS
FORMS getform.io
FORMS
Memberships
Find plugin(s) with compatibility WORDPRESS PLUGIN 1 2 Setup Authentication
3 Login User & Check Permissions 4 Pull in Content Client Side MEMBERSHIPS
MEMBERSHIPS woocommerce.com/products/woocommerce-memberships
MEMBERSHIPS
MEMBERSHIPS
Ecommerce
ECOMMERCE WORDPRESS PLUGIN SASS IT
ECOMMERCE
ECOMMERCE anywherewc.com??? wcanywhere.com???
COMMENTS FORMS MEMBERSHIPS ECOMMERCE LMS GUTENBERG Dynamic Components
COME TALK TO ME! strattic.com // Static WP Hosting jsforwp.com
// Courses, Bootcamps GatsbyWPThemes.com // Themes! @zgordon