
Syntax - Tasty Web Development Treats GraphQL and WordPress
Jul 10, 2019
Join Jason Bahl, the author of WPGraphQL and WordPress veteran, as he dives into the exciting world of GraphQL and its transformative impact on WordPress. He discusses the benefits of using GraphQL over the traditional REST API, particularly for efficient data retrieval and streamlined workflows. The conversation also touches on hosting options, authentication methods, and the joys of headless WordPress setups. Additionally, Jason shares insights on using custom post types and the potential of GraphQL for real-time updates, making it a must-listen for developers!
AI Snips
Chapters
Transcript
Episode notes
GraphQL Efficiency
- A common criticism of GraphQL is the potential for writing inefficient database queries due to its opaque resolution process.
- However, WP GraphQL leverages the known data requirements to optimize queries and enhance efficiency.
Leveraging WordPress Ecosystem
- Leverage WordPress's existing ecosystem, including caching plugins like Redis, to optimize WP GraphQL performance.
- Utilize WordPress functions for authentication and authorization, ensuring compatibility with existing plugins and security measures.
Deployment Strategy
- When deploying new features that depend on settings, roll them out with a new setting.
- This allows the new feature to take over once activated on production without breaking existing functionality.
