SlideShare a Scribd company logo
Decoupled Architecture and WordPress
CONTENT AS A SERVICE:
DECOUPLED WORDPRESS
WITH THE REST API
Pantheon.io 3
Speakers
Josh Koenig
Co-Founder & Head of Product
@outlandishjosh
Pantheon.io 4
“Learn JavaScript Deeply”
“JavaScript is the
future of the web. I
know this as surely as
I know that barbecue
is delicious.”
Pantheon.io 5
Many Frameworks Exist
ReactJS Backbone Angular
Pantheon.io 6
Decoupling Client and Server
Pantheon.io 7
Monoliths vs. Microservices
Monolith
Templates & Themes
Display Logic
Editorial UI
Admin UI
VS.
Decoupled
Pantheon.io 8
The Limits of the Theme Layer as Architecture
Theme Layer
Plugins / Core
Permeable
Boundary
Exciting / awkward
game of chance
Pantheon.io 9
Monoliths Can Lead to Unhappy Developers
Pantheon.io 10
Strong Separation of Concerns
Client
WordPress
HTTP API
Everyone Wins
Pantheon.io 11
Use the Tools You Prefer
Pantheon.io 12
Parallel Track Progress
Pantheon.io 13
Future Proofing
Pantheon.io 14
Caveats
Pantheon.io 15
WordPress Does a Lot of Things
Pantheon.io 16
HTTP: Do you speak it?
Hur De Flur Shiffen de
PUT Dur Skurf Nerf
CURL we Flu Pur
OPTIONS me
Skupplen de Noff
Pantheon.io 17
No, but seriously… HTTP… what r u doin?
source: https://github.com/inhabitedtype/ocaml-webmachine
Pantheon.io 18
Primary Use-Case: Custom Sites/Apps
Source: 2014 State of the Word
Pantheon.io 19
WP-API Can Grow the WP Market
MANY WAYS OF DECOUPLING
Which is right for you?
Pantheon.io 21
Static Generator / Renderer
CMS
Static
Site
User
Request
Static
• Create a fast and resilient
user-facing site.
• Utilize front-end atomic design
tools, minimal/elegant
markup, etc.
• Read-only, but highly secure
and scalabe.
Pantheon.io 22
Hybrid
CMS
Static
Site
User
Request
Static
• Build up a REST API on your
site to power dynamic
forms/dashboards.
• Many other functions served
directly from Drupal as per
normal.
• Restrains the scope. Allows
for particular experiences to
be enhanced.
CMS
JS App
User
Request
Hybrid
Pantheon.io 23
“Single Page” App
CMS
Static
Site
User
Request
Static
• Client side JavaScript
application runs in-browser,
pulls data from CMS via API.
• May include user interactions,
or be purely content oriented.
• Typically utilize a front-end
framework like Angular,
Backbone, or React.CMS
Single
Page App
User
Request
Single Page
Pantheon.io 24
Native Mobile App / IoT
CMS
Static
Site
User
Request
Static
• CMS powers embedded
applications via API.
• May also present some web
functionality to users.
• Drive IOS and Android native
apps, as well as “internet of
things” implementations.
CMS
Native
Mobile
App
User
Request
Native
(optional)
Pantheon.io 25
CMS-on-CMS
CMS
Static
Site
User
Request
Static
• Separation of concerns, but
not technologies.
• Front-end CMS can control
configuration, caching,
throttling.
• Develop reusable
components for a Service-
Oriented / Microservices
architecture.
CMS
User
Request
CMS2
CMS
Pantheon.io 26
Everything Old is New Again
Pantheon.io 27
WordPress 4.4
First REST API framework
elements in core. Plugins still
required for functionality.
Now is a good time for plugin
developers to start thinking
about API compatibility and
features.
Pantheon.io 28
“Calypso”
ReactJS based application for
administering WordPress.com sites.
Open source, a great inspirational
example.
Uses Jetpack’s APIs.
LIVE DEMO
Hopefully the deities of demonstration are pleased…
Pantheon.io 30
Resources
https://github.com/Automattic/wp-calypso
https://github.com/joshkoenig/todo-wp
https://github.com/dirtystylus/wordcampus-2015-js-example
http://javascriptforwp.com/
Pantheon.io 31
Thanks!
Thanks! Questions?
@getpantheon

More Related Content

What's hot (20)

PPTX
Rapid Application Development on Google App Engine for Java
Kunal Dabir
 
PDF
ECS19 - Daniel Neumann - AZURE FUNCTIONS 2.0 - RUNNING SERVERLESS EVERYWHERE
European Collaboration Summit
 
PPTX
Static Site Generators - Developing Websites in Low-resource Condition
IWMW
 
PDF
JEE Conf 2015: Less JS!
_Dewy_
 
PPTX
A Gentle Introduction to Blazor
Jose Javier Columbie
 
PPT
Building a scalable infrastructure for social mobile web apps
ngonpham
 
PPTX
Extensibility for ADF applications
Denys Vuika
 
PPTX
Rencore Webinar: SharePoint Customizations - the most overlooked road block t...
Rencore
 
PDF
WordPress development checklist
Binh Quan Duc
 
PPTX
ASP.NET 5
David Voyles
 
PDF
Full-Stack Development with Spring Boot and VueJS
VMware Tanzu
 
PDF
One Neos CMS - many websites
punkt.de GmbH
 
PDF
Continuous delivery of danbury.io, Part 1
Brian Jackson
 
PDF
Extending WordPress as a pro
Marko Heijnen
 
PPTX
JavaScript Build System Battle Royale | PrDC 2017
David Wesst
 
PPTX
TypeScript and SharePoint Framework
Bob German
 
PDF
Blazor - The New Silverlight?
Christian Nagel
 
PDF
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
Bruno Borges
 
PPTX
React native - React(ive) Way To Build Native Mobile Apps
Jimit Shah
 
PDF
Building our App with React Native
Nuxeo
 
Rapid Application Development on Google App Engine for Java
Kunal Dabir
 
ECS19 - Daniel Neumann - AZURE FUNCTIONS 2.0 - RUNNING SERVERLESS EVERYWHERE
European Collaboration Summit
 
Static Site Generators - Developing Websites in Low-resource Condition
IWMW
 
JEE Conf 2015: Less JS!
_Dewy_
 
A Gentle Introduction to Blazor
Jose Javier Columbie
 
Building a scalable infrastructure for social mobile web apps
ngonpham
 
Extensibility for ADF applications
Denys Vuika
 
Rencore Webinar: SharePoint Customizations - the most overlooked road block t...
Rencore
 
WordPress development checklist
Binh Quan Duc
 
ASP.NET 5
David Voyles
 
Full-Stack Development with Spring Boot and VueJS
VMware Tanzu
 
One Neos CMS - many websites
punkt.de GmbH
 
Continuous delivery of danbury.io, Part 1
Brian Jackson
 
Extending WordPress as a pro
Marko Heijnen
 
JavaScript Build System Battle Royale | PrDC 2017
David Wesst
 
TypeScript and SharePoint Framework
Bob German
 
Blazor - The New Silverlight?
Christian Nagel
 
From GitHub Source to GitHub Release: Free CICD Pipelines For JavaFX Apps
Bruno Borges
 
React native - React(ive) Way To Build Native Mobile Apps
Jimit Shah
 
Building our App with React Native
Nuxeo
 

Viewers also liked (19)

PDF
Preparing for the Internet Zombie Apocalypse
Pantheon
 
PDF
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Pantheon
 
PDF
How Drupal 8 Reaches Its Full Potential on Pantheon
Pantheon
 
PDF
Drush in the Composer Era
Pantheon
 
PDF
Testing Your Code as Part of an Industrial Grade Workflow
Pantheon
 
PDF
WP or Drupal (or both): A Framework for Client CMS Decisions
Pantheon
 
ODP
Start with Drupal CMS
Edeth Meng
 
PDF
Test Coverage for Your WP REST API Project
Pantheon
 
PDF
Migrating NYSenate.gov
Pantheon
 
PDF
WordPress at Scale Webinar
Pantheon
 
PDF
Drupal 8 and Pantheon
Pantheon
 
PPTX
Level Up: 5 Expert Tips for Optimizing WordPress Performance
Pantheon
 
PDF
Lean Drupal Repositories with Composer and Drush
Pantheon
 
PDF
Continuous Integration Is for Teams: Moving past buzzword driven development
Pantheon
 
PDF
Drupal Performance
Pantheon
 
PDF
WordPress REST API: Expert Advice & Practical Use Cases
Pantheon
 
PDF
Why Your Site is Slow: Performance Answers for Your Clients
Pantheon
 
PDF
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Pantheon
 
PDF
Development Workflow Tools for Open-Source PHP Libraries
Pantheon
 
Preparing for the Internet Zombie Apocalypse
Pantheon
 
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Pantheon
 
How Drupal 8 Reaches Its Full Potential on Pantheon
Pantheon
 
Drush in the Composer Era
Pantheon
 
Testing Your Code as Part of an Industrial Grade Workflow
Pantheon
 
WP or Drupal (or both): A Framework for Client CMS Decisions
Pantheon
 
Start with Drupal CMS
Edeth Meng
 
Test Coverage for Your WP REST API Project
Pantheon
 
Migrating NYSenate.gov
Pantheon
 
WordPress at Scale Webinar
Pantheon
 
Drupal 8 and Pantheon
Pantheon
 
Level Up: 5 Expert Tips for Optimizing WordPress Performance
Pantheon
 
Lean Drupal Repositories with Composer and Drush
Pantheon
 
Continuous Integration Is for Teams: Moving past buzzword driven development
Pantheon
 
Drupal Performance
Pantheon
 
WordPress REST API: Expert Advice & Practical Use Cases
Pantheon
 
Why Your Site is Slow: Performance Answers for Your Clients
Pantheon
 
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Pantheon
 
Development Workflow Tools for Open-Source PHP Libraries
Pantheon
 
Ad

Similar to Decoupled Architecture and WordPress (20)

PPTX
Angular jS Introduction by Google
ASG
 
PDF
Escaping the yellow bubble - rewriting Domino using MongoDb and Angular
Mark Leusink
 
PPTX
Xamarin.Forms Bootcamp
Mike Melusky
 
PDF
Apache Cordova 4.x
Ivano Malavolta
 
KEY
Mobile ECM with JavaScript - JSE 2011
Nuxeo
 
PDF
Curriculum vitae of nguyen hai quy
Hai Quy Nguyen
 
PPTX
Developer’s Independence Day: Introducing the SharePoint App Model
bgerman
 
PDF
HTML5: the new frontier of the web
Ivano Malavolta
 
PPTX
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
Kushan Lahiru Perera
 
PPTX
Progressive Web Apps and React
Mike Melusky
 
PPTX
Transforming the web into a real application platform
Mohanadarshan Vivekanandalingam
 
PPTX
Building SPA’s (Single Page App) with Backbone.js
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
PDF
Embrace the frontend revolution
Alvaro Sanchez-Mariscal
 
PDF
Embrace the front-end revolution - Sánchez-Mariscal
Codemotion
 
PPTX
Top 10 frameworks of node js
HabileLabs
 
ODP
Netbeans65 Osum Slides
Abhishek Gupta
 
PDF
Play Framework: Intro & High-Level Overview
Josh Padnick
 
PPTX
Best of Microsoft Dev Camp 2015
Bluegrass Digital
 
PDF
Developing ionic apps for android and ios
gautham_m79
 
PDF
Web Development Presentation
TurnToTech
 
Angular jS Introduction by Google
ASG
 
Escaping the yellow bubble - rewriting Domino using MongoDb and Angular
Mark Leusink
 
Xamarin.Forms Bootcamp
Mike Melusky
 
Apache Cordova 4.x
Ivano Malavolta
 
Mobile ECM with JavaScript - JSE 2011
Nuxeo
 
Curriculum vitae of nguyen hai quy
Hai Quy Nguyen
 
Developer’s Independence Day: Introducing the SharePoint App Model
bgerman
 
HTML5: the new frontier of the web
Ivano Malavolta
 
SharePoint Framework -The future of SharePoint/ Office 365 developer ecosystem.
Kushan Lahiru Perera
 
Progressive Web Apps and React
Mike Melusky
 
Transforming the web into a real application platform
Mohanadarshan Vivekanandalingam
 
Building SPA’s (Single Page App) with Backbone.js
Microsoft Developer Network (MSDN) - Belgium and Luxembourg
 
Embrace the frontend revolution
Alvaro Sanchez-Mariscal
 
Embrace the front-end revolution - Sánchez-Mariscal
Codemotion
 
Top 10 frameworks of node js
HabileLabs
 
Netbeans65 Osum Slides
Abhishek Gupta
 
Play Framework: Intro & High-Level Overview
Josh Padnick
 
Best of Microsoft Dev Camp 2015
Bluegrass Digital
 
Developing ionic apps for android and ios
gautham_m79
 
Web Development Presentation
TurnToTech
 
Ad

More from Pantheon (11)

PDF
Drupal Migrations in 2018
Pantheon
 
PDF
Architecting Million Dollar Projects
Pantheon
 
PDF
Streamlined Drupal 8: Site Building Strategies for Tight Deadlines
Pantheon
 
PDF
Getting Started with Drupal
Pantheon
 
PDF
Defense in Depth: Lessons Learned Securing 200,000 Sites
Pantheon
 
PDF
Automate Your Automation | DrupalCon Vienna
Pantheon
 
PDF
Sub-Second Pageloads: Beat the Speed of Light with Pantheon & Fastly
Pantheon
 
PDF
Building a Network of 195 Drupal 8 Sites
Pantheon
 
PDF
Hacking Your Agency Workflow: Treating Your Process Like A Product
Pantheon
 
PDF
Best Practice Site Architecture in Drupal 8
Pantheon
 
PDF
Drupal 8 CMI on a Managed Workflow
Pantheon
 
Drupal Migrations in 2018
Pantheon
 
Architecting Million Dollar Projects
Pantheon
 
Streamlined Drupal 8: Site Building Strategies for Tight Deadlines
Pantheon
 
Getting Started with Drupal
Pantheon
 
Defense in Depth: Lessons Learned Securing 200,000 Sites
Pantheon
 
Automate Your Automation | DrupalCon Vienna
Pantheon
 
Sub-Second Pageloads: Beat the Speed of Light with Pantheon & Fastly
Pantheon
 
Building a Network of 195 Drupal 8 Sites
Pantheon
 
Hacking Your Agency Workflow: Treating Your Process Like A Product
Pantheon
 
Best Practice Site Architecture in Drupal 8
Pantheon
 
Drupal 8 CMI on a Managed Workflow
Pantheon
 

Recently uploaded (20)

PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 

Decoupled Architecture and WordPress