GraphQL and WordPress
In this episode of Syntax, Scott and Wes talk with Jason Bahl (author of WPGraphQL) about GraphQL, headless WordPress, frameworks in WordPress, React in WordPress, and more!
Sanity - Sponsor
Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
LogRocket - Sponsor
LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at LogRocket.
Show Notes
4:55 - Data in WordPress
6:26 - WPGraphQL
10:31 - What were your initial thoughts/first experiences with GraphQL?
16:58 - Does it use MySQL queries or wpQuery?
19:36 - How does authentication work?
24:38 - What does the WP local dev experience look like in 2019?
26:49 - What about deployment? How do you handle migrating data?
30:10 - How does WPGraphQL handle mutations?
32:46 - What are the preferred hosting methods for a headless WordPress setup?
36:44 - Do you see any push back about giving up much of what WordPress gives you out of the box?
41:23 - What are techniques for preventing all of WordPress from loading When you’re using it exclusively for the API?
43:40 - How does WPGraphQL support custom post types, taxonomies and fields, etc?
Links
- WPGraphQL
- Kyle Mathews
- GraphQL
- Gatsby
- WordPress
- Meteor
- Apollo GraphQL
- GraphiQL
- WPGraphiQL
- WAMP
- Flywheel
- Local by Flywheel
- PhpStorm
- Lando
- Laravel
- React
- Netlify
- Jason Schuller
- Leeflets
- Press75
- Advanced Custom Fields
- WPGraphQL Tax Query
- WPGraphQL Meta Query
- WPGraphQL for Advanced Custom Fields
- Jason’s Twitter
- WPGraphQL Twitter
××× SIIIIICK ××× PIIIICKS ×××
- Scott: Figma
- Wes: CalDigit TS3 Plus Thunderbolt 3 Dock
- Jason: Local by Flywheel
Shameless Plugs
- Scott’s new course - Dev Tools & Debugging
- Wes - All Courses - Use the coupon code ‘Syntax’ for $10 off!
- Jason - WPGraphQL
- Jason - Gatsby
Tweet us your tasty treats!
- Scott’s Instagram
- LevelUpTutorials Instagram
- Wes’ Instagram
- Wes’ Twitter
- Wes’ Facebook
- Scott’s Twitter
- Make sure to include @SyntaxFM in your tweets