Quick Survey
Submit Here:
WordPress

The Most Popular CMS
Headless
Who Am I?
- Principal Software Engineer at WP Engine
- Denver, Colorado
- WordPress developer for 12+ years
- I love WordPress, and Open Source in general
- Creator & maintainer of WPGraphQL


FORTY ONE
41









Most Dreaded Platforms



Most Loved Web Frameworks


Developers

Business Owners / Marketers

Let business owners, marketers and content creators use the CMS they're already familiar with & invested in, and let developers use the modern JavaScript frameworks they love.
WordPress



WordPress

WordPress












Headless WordPress











Headless WordPress

Headless WordPress





















How?

A free, open-source WordPress plugin that provides an extendable GraphQL schema and API for any WordPress site.
WPGraphQL




Posts
Comments
Pages
Users
Media
Terms

GraphQL
{
viewer {
name
}
}
{
data: {
viewer: {
name: "Jason Bahl"
}
}
}
GraphQL Query
GraphQL Result
Post
Category
Category
Category
Post
title
"Hello World"
title
"GoodBye Mars"
Image
Image
Image
name
"news"
name
"crime"
name
"sports"
Image
WordPress as an Application Data Graph
GraphQL
GraphQL lets us pick trees out of the Application Data Graph
GraphQL
query {
post(id: "cG9zdDox") {
title
link
categories {
nodes {
name
}
}
}
}
{
data: {
post: {
title: "Hello World!"
link: "http://site.com/hello-world"
categories: {
nodes: [
{
name: "sports"
},
{
name: "crime"
}
]
}
}
}
}
Post
Category
Category
Category
Post
title
"Hello World"
title
"GoodBye Mars"
Image
Image
Image
name
"news"
name
"crime"
name
"sports"
Image
WordPress becomes a data source for any client that can make HTTP requests




https://playground.wpgraphql.com






mutation Submit(
$input: SubmitFormInput!
) {
submitForm(input: $input) {
twitterHandle
}
}


WordPress
By Jason Bahl
WordPress
- 1,165