future of the cms 2016-08-10 4k webinar - drupalcon · the future of the cms decoupled...

69
August 10, 2016 | Four Kitchens The Future of the CMS Decoupled architecture, multiple frontends, and content as a service

Upload: others

Post on 03-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

August 10, 2016 | Four Kitchens

The Future of the CMSDecoupled architecture, multiple frontends, and content as a service

Page 2: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Todd Ross Nienkerk CEO, Co-Founder, and Digital StrategistFour Kitchens

@toddross

[email protected]

#FutureCMS

Page 3: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

I want you to rethink how we manage, publish, and consume content.

#FutureCMS

I am here today because…

Page 4: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

What “decoupled” means

Agenda 1 32

#FutureCMS

Page 5: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

When decoupling makes sense

Agenda 321

#FutureCMS

Page 6: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

What’s next

1Agenda 32

#FutureCMS

What’s next for content and the web.

Page 7: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

What “decoupled” means

1 32

#FutureCMS

Page 8: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

CMS

Frontend

Backend

#FutureCMS

Page 9: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Frontend

CMS

Backend

#FutureCMS

Page 10: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Frontend

CMSBackend

Head

Decoupled(or “headless”)

Body#FutureCMS

* We have separated the “head” from the “body.”* The resulting architecture is decoupled (or “headless”).

Page 11: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Frontend

CMSBackend

#FutureCMS

Page 12: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Backend

#FutureCMS

When we talk about the “frontend,” we most commonly mean “your website.”

Page 13: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Backend

AMPNativeapps

Feeds Screenreaders

SmartTVsXbox

Alexa#FutureCMS

But your website is actually one of many frontends — one of many ways users experience your content.

Page 14: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Backend

AMPNativeapps

Feeds Screenreaders

SmartTVsXbox

Alexa#FutureCMS

This is the future of the CMS, where all frontends are first-class citizens…

Page 15: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Content

AMPNativeapps

Feeds Screenreaders

SmartTVsXbox

Alexa#FutureCMS

…Where everything starts with content.

Page 16: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

When decoupling makes sense

31 2

#FutureCMS

Page 17: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Adopt cutting-edge frontend technologies

Decoupling makes sense when you want to…

#FutureCMS

Page 18: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Backend

safe

repeatable

known solutions,expected results

Frontend

safe

repeatable

known solutions,expected results

BORING#FutureCMS

Page 19: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Frontend

bleeding-edge tech

richest experience

high risk, high reward

Backend

bleeding-edge tech

richest experience

high risk, high reward

DANGEROUS#FutureCMS

The frontends are changing faster and are more diverse than content management needs

Page 20: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

JUST RIGHT

Frontend

bleeding-edge tech

richest experience

high risk, high reward

Backend

safe

repeatable

known solutions,expected results

#FutureCMS

This is the Goldilocks solution: Not too boring, and not too dangerous. Just right.

Page 21: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Separate upgrades from redesigns

Decoupling makes sense when you want to…

#FutureCMS

Page 22: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Redesign

New CMS Upgrade CMS

Redesign Redesign

Upgrade CMS

Redesign

Upgrade CMS

Coupled

Time

#FutureCMS

Page 23: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Upgrade CMS

Redesign

New CMS

Redesign

Upgrade CMS

Redesign

Time

Decoupledseparates upgrades and redesigns

#FutureCMS

Page 24: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Redesign

New CMS

Angular React PolymerBackbone Ember

Upgrade CMS

Time

Decoupledhelps you keep pace with frontend tech

#FutureCMS

Page 25: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

iOS app RokuRedesign

New CMS

AlexaWeb redesign

Upgrade CMS

Time

Decoupledallows multiple frontends and experiences

#FutureCMS

Page 26: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Eliminate tension between a design and your CMS

Decoupling makes sense when you want to…

#FutureCMS

Page 27: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Who’s walking whom?

CMS

Design

#FutureCMS

Should your design be optimized for your CMS? Or should you modify your CMS to achieve your design? In other words, are you walking the dog, or is the dog walking you?

Page 28: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Two philosophies of designing for a CMS

#FutureCMS

Page 29: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

CMS first

•The users’ needs are important, but there are many ways to satisfy them

•The design can be changed to align with the natural behavior of the CMS

•The end result is easier and cheaper to maintain

#FutureCMS

Page 30: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Design first

•The users’ needs are paramount and non-negotiable

•The design must be executed as-is

•This may involve hacking the CMS or creating a complicated codebase, which affects maintainability

#FutureCMS

Page 31: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Neither philosophy is wrong, and decoupling can satisfy both

#FutureCMS

Page 32: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Centralize your content

Decoupling makes sense when you want to…

#FutureCMS

Page 33: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Mywebsite

CMS

Content

Frank’swebsite

CMS

Content

Sara’swebsite

CMS

Content

Laura’swebsite

CMS

Content

Bob’swebsite

CMS

Content#FutureCMS

Page 34: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Mywebsite

CMS

Content

#FutureCMS

Page 35: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

CMS

Mywebsite

Content

#FutureCMS

Page 36: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Me

Frank

LauraBob

Sara

Contenthub

#FutureCMS

Page 37: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Sara

Me

#FutureCMS

Page 38: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Sara

Me

#FutureCMS

Page 39: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Me

Sara

#FutureCMS

Page 40: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Me

Sara

#FutureCMS

Page 41: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Publish to many frontends and experiences

Decoupling makes sense when you want to…

#FutureCMS

Page 42: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Contenthub

AMPNativeapps

Feeds Screenreaders

SmartTVsXbox

Alexa#FutureCMS

Page 43: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

WebAMPNative

apps

Feeds Screenreaders

SmartTVsXbox

Alexa#FutureCMS

Page 44: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

WebAMPNative

apps

Feeds Screenreaders

SmartTVsXbox

Alexa#FutureCMS

Page 45: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Integrate multiple backends or services

Decoupling makes sense when you want to…

#FutureCMS

Page 46: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Content

AMPNativeapps

Solrsearch

OpenCalais Video

service#FutureCMS

Page 47: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Make your content easily accessible via an API

Decoupling makes sense when you want to…

#FutureCMS

Page 48: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Contenthub

AMPNativeapps

Feeds

SmartTVsXbox

Alexa#FutureCMS

Page 49: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Web

Contenthub

AMPNativeapps

Feeds

SmartTVsXbox

Alexa

Public API

Publicdata

Fan site

#FutureCMS

Page 50: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future
Page 51: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Why TWiT went headless

Page 52: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Source: Leo Laporte’s announcement (4ktch.in/twittv-leo)

“[It’s] faster and easier to create new sites. Web design styles change faster than high fashion, so it's nice to be able to update the site without re-doing all the hard work on the backend.”

Page 53: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Source: Leo Laporte’s announcement (4ktch.in/twittv-leo)

“Having a complete API would make it easier to do apps. The app, just like the website, would have access to everything there is to know about TWiT, in a simple, accessible fashion.”

Page 54: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Source: Leo Laporte’s announcement (4ktch.in/twittv-leo)

“By making the API public, we encourage members of our audience to create new things, things we might never have thought of. You could even design a website you like better. Abstracting the content from the presentation seems like a big win.”

Page 55: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Source: Leo Laporte’s announcement (4ktch.in/twittv-leo)

“By keeping Drupal simple and avoiding additional third-party modules, we can make a more secure and reliable backend that will be much easier to upgrade when future versions of Drupal arrive.”

Page 56: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

•TWiT’s case study: 4ktch.in/twittv-leo

•4K’s blog post: 4ktch.in/twittv-4k

•API documentation: docs.twittv.apiary.io

•Consume content the same way TWiT’s website does!

•Saucier: github.com/fourkitchens/saucier

•Our open-source Node.js framework for building decoupled Drupal sites

Instead of using all of Drupal, TWiT opted to use only the robust content management tools, and left other pieces like the theme system untouched. Instead, Four Kitchens built a lighter, decoupled frontend using Node.JS and a Redis cache that can handle more requests per second, with a median response time of 10ms during their busy live-stream hour. Both the Redis cache and Varnish are intelligently cleared as Drupal is updated, meaning that content is always fresh while remaining quick to download.

The front end is an Express app using Dust to render templates. This mix of libraries allows pages to be constructed on the server (to provide faster page loads) while easily allowing the templates to be reused for client-side updates once the page is initialized.

Page 57: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Decoupling makes sense when you want to…

•Adopt cutting-edge frontend technologies

•Separate upgrades from redesigns

•Eliminate tension between a design and your CMS

•Centralize your content

•Publish to many frontends and experiences

•Integrate multiple backends or services

•Make your content easily accessible via an API

Page 58: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

What’s next

1 32

#FutureCMS

Page 59: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Content comes first

#FutureCMS

* Current CMSs manage websites first and content second. This needs to change.* Content strategy is a requirement for all organizations.* Content modeling is key to building a robust digital strategy.* Fully divorce content from its presentation.

Page 60: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

We must design for experiences, not just devices

#FutureCMS

* Different experiences. Different technologies. Doesn’t mean RWD isn’t important. It’s still the core of how to present on the web. But, the internet as we think of it is no longer the only place where your content is relevant.

Page 61: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Frontend technologies are accelerating, and CMSs can’t keep pace

#FutureCMS

* As a result, CMSs should double-down on content. Put the “C” back in “Content Management Systems.”

Page 62: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Rise of WMSs (Website Management Systems) and services like Squarespace

#FutureCMS

Page 63: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Return of (small) static websites

#FutureCMS

Page 64: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Reusable, atomized content

#FutureCMS

* Tokenized content*

Page 65: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Conversational interfaces

#FutureCMS

* Alexa* Chatbots* Adding new fields for the NBC.com Alexa skill* Miked homes and offices* Subvocalization and subvocal mics

Page 66: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Virtual and augmented reality

#FutureCMS

* Fully immersive, 360-degree video* Commerce* Tactile web

Page 67: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Fight Club (1999)

Page 68: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Questions?

#FutureCMS

Page 69: Future of the CMS 2016-08-10 4K webinar - DrupalCon · The Future of the CMS Decoupled architecture, multiple frontends, and ... backend that will be much easier to upgrade when future

Credits

• All content in this presentation, except where noted otherwise and listed below, is Creative Commons Attribution-ShareAlike 3.0 licensed and copyright Four Kitchens, LLC.

• The following icons are from the Noun Project and are licensed Creative Commons BY 3.0: Dog-walking illustration based on an icon by Pavel Nikandrov; Laptop icon by B. Agustín Amenábar Larraín; Tablet icon by Pham Thi Dieu Linh; Smartphone icon by George Agpoon; Media icon by Garrett Knoll; Text icon by Julien Miclo; Chat icon by Dolly Vu; Document icon by Nimal Raj.

• Drupal is a registered trademark of Dries Buytaert.