SlideShare a Scribd company logo
MagMutual
On the JAMStack with Gatsby and Drupal 8
July 16, 2020
Today’s
Team
Customer Success
Gatsby
Ben Robertson Bob Kepford
Director of Development
Mediacurrent
Mediacurrent:
Open Source
Expansion Partner
Who We Are
We are drupal pioneers, digital strategy experts,
open source advocates, researchers, designers,
and innovators who solve technology challenges .
Our Mission
To bring together the most talented team
members to improve technology for our
clients
The way to build the
web for everyone
Our Mission
To create a better web for everyone, where
security, performance, accessibility, and
modern tooling are defaults, not
afterthoughts.
Decoupled architectures can be a
great approach for sites that
require functionality beyond what
Drupal normally supports. When
you decouple, you have the
opportunity to choose the best
tool for individual technical
requirements.
| 8
This session will be an inside look
at our decoupled approach for
MagMutual.com: combining
open-source frameworks like
Gatsby, Drupal 8, and Serverless,
as well as third-party services for
user management, a learning
management system, and private
APIs to build a robust custom
platform.
This Session is For
| 9
Developers Marketer IT Professional
IT pros interested in
building flexible resilient
systems that give their
teams security and
flexibility
Marketers looking for more
flexibility in UX and
branding. Separating their
vision for the web from the
CMS lifecycle
Developers interested in
decoupled Drupal, static
sites, & the JAM Stack.
Breaking complex
problems into smaller
more discrete
components
Drupal 8 as your content
hub using JSON API and
search API with
Elasticsearch
GatsbyJS with
authentication, search,
and a mix of static and
dynamic content
Learning Objectives
| 10
Objective 1 Objective 2 Objective 3
| 11
MagMutual
For nearly four decades,
MagMutual has been a leading
provider of medical
professional liability insurance.
| 12
MagMutual
Over 30,000 physicians
and healthcare
organizations rely on
MagMutual.com for
learning resources,
products, and services
covering all aspects of
healthcare liability
MagMutual
| 13
| 14
● Rebrand
● Future proof
● Improve UX for policyholders
● Speed gains for authenticated and anon users
We Listened
to Their Needs
| 15
● Single source of truth for user data
● Online learning integration
● Progressive learning tracks
● Maintainable and reliable SSO
We Listened
to Their Needs
| 16Drupal & Gatsby
The Challenge
● Complex Drupal 7 codebase
● Technical debt
● Extensive business logic
● AJAX (Asynchronous JavaScript And
XML) based UX
● Data sync between Drupal other
systems
● Difficult to understand code base
● Brittle and error prone custom D7
modules
● Drupal as authentication provider
The Solution
● Reviewing Architecture
● Volatility based decomposition
● Separation of concerns
● Using the right tools for each
component of the system
MagMutual
| 17
CMS / Drupal Integrations /
Drupal
Business Logic /
Drupal
User Data / Drupal Search / Apache
Solr
IAM (Identity and Access
Management) / Drupal
SimpleSAML
Legacy Architecture
Website / Drupal
| 18
CMS IntegrationsBusiness Logic
User Data Search IAM (Identity and
Access
Management)
The Components
Website
| 19
CMS / Drupal
Search /
Elasticsearch
IAM (Identity and Access
Management) / Auth0
New Architecture
Website / Gatsby
User Data / Apollo
GraphQL
Business Logic,
Integrations /
Lambda
AWS Deployment
/ Serverless
| 20
Before After
| 21
| 22
| 23
| 24
| 25
| 26
Insert account dashboard screenshot here
● Speed + performance was a big concern on the old site
● Security
● Open Source advantage
● Developer efficiency
● The content mesh!
Why Gatsby?
| 27
Website: Gatsby
● JSON API
● JSON API Extras
● Build Hooks (Netlify)
● Search API
● Paragraphs
Drupal 8 is full featured
| 28
CMS: A Boring Drupal 8 site
● Improved editor UX
● Paragraph previews
● Clean look
Wins
| 29
Rain Admin
| 30
Rain Admin
● SSO
● Universal login
● Integrations
● Protocols
● Extensibility
Features
Authentication: Auth0
| 31
● Form handlers
● Creating users in Auth0
● API Access callbacks
● Launching third party
services
Use cases
Server-Side Logic: AWS Lambda
| 32
● Abstract REST API’s away
from the front end
● Unify your APIs
● Normalize data with
schemas
● Adapt to changing needs
● Built in documentation
Features
Apollo GraphQL
| 33
● Drupal Elasticsearch AWS
Connector
● AWS Elasticsearch
● AWS Lambda rate limiting
● Gatsby SearchKit plugin
Features & Integrations
Search: Elasticsearch
| 34
● Deployment
● Mocking
● Testing
● Logging
● Local development
● Project structure
Features
Serverless Framework
| 35
Living with it - Support
| 37
The Cons
● More things to support
● More to know
● Harder to debug integration points
● Onboarding
The Pros
● Less bugs
● Focus on new features
● Drupal and Gatsby are simple to
maintain
● Apollo GraphQL is a huge win
● Improved performance
● Less time to market with new
features
● Added another authentication
provider with little effort
● Adding new design assets is faster
and easier
Living with it - Support
Questions
Does something resonate with you today? Get in touch with us.
mediacurrent.com/contact-us
mediacurrent.com/resources
| 39| 39
Your Feedback is
Valuable!
Thank you!
@Mediacurrent
Mediacurrent @Mediacurrent
MediacurrentDrupal
Mediacurrent.com
@Mediacurrent

More Related Content

PDF
Paragraphs v Layout Builder - The Final Showdown
PPTX
Is my website accessible? Common mistakes (and how to fix them)
PDF
Managing Images In Large Scale Drupal 8 & 9 Websites
PDF
We Built This City (On Drupal 8)
PDF
Decoupled Drupal and Gatsby in the Real World
PDF
Guide to Component-Based Theming for Drupal 8 and 9
PPTX
Best Practices for Moving to Drupal 9
PDF
Rain + GatsbyJS: Fast-Tracking to Drupal
Paragraphs v Layout Builder - The Final Showdown
Is my website accessible? Common mistakes (and how to fix them)
Managing Images In Large Scale Drupal 8 & 9 Websites
We Built This City (On Drupal 8)
Decoupled Drupal and Gatsby in the Real World
Guide to Component-Based Theming for Drupal 8 and 9
Best Practices for Moving to Drupal 9
Rain + GatsbyJS: Fast-Tracking to Drupal

What's hot (20)

PDF
Penn State scales static Drupal to new heights
PDF
FLDC 2014: Drupal 8 for Site Builders
PPTX
Drupal Security: What You Need to Know
PDF
Experience Digital Freedom with Acquia
PPTX
Introduction to basics of drupal
PDF
Creating an Organizational Culture of Giving Back to Drupal
PPTX
How to Digitally Transform Higher Ed with Drupal
PDF
Opening Keynote - DrupalCamp St. Louis 2014
PDF
Google Optimize: How Mass.gov Builds Great Government UX
PDF
Penn State News: Pivoting to Decoupled Drupal with Gatsby
PPTX
Level Up Your Team: Front-End Development Best Practices
ODP
SH Drupal Camp London Public Sector Opportunities
PDF
Shockingly Fast Site Development with Acquia Lightning 4.0
PPTX
STUDY JAM ON GOOGLE CLOUD PROGRAM
PDF
Drupal enterprise solutions reduce total cost of ownership (tco)
PDF
Business benefits of Drupal 8
PPTX
Gsdc intro session
PDF
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
PDF
5 Reasons Enterprise Marketers Love Drupal 8
PDF
Documentation of an application revamping program: the Capgemini case study
Penn State scales static Drupal to new heights
FLDC 2014: Drupal 8 for Site Builders
Drupal Security: What You Need to Know
Experience Digital Freedom with Acquia
Introduction to basics of drupal
Creating an Organizational Culture of Giving Back to Drupal
How to Digitally Transform Higher Ed with Drupal
Opening Keynote - DrupalCamp St. Louis 2014
Google Optimize: How Mass.gov Builds Great Government UX
Penn State News: Pivoting to Decoupled Drupal with Gatsby
Level Up Your Team: Front-End Development Best Practices
SH Drupal Camp London Public Sector Opportunities
Shockingly Fast Site Development with Acquia Lightning 4.0
STUDY JAM ON GOOGLE CLOUD PROGRAM
Drupal enterprise solutions reduce total cost of ownership (tco)
Business benefits of Drupal 8
Gsdc intro session
Business Benefits of Drupal 8: Empower Digital Innovation with the Newest Ver...
5 Reasons Enterprise Marketers Love Drupal 8
Documentation of an application revamping program: the Capgemini case study
Ad

Similar to MagMutual.com: On the JAMStack with Gatsby and Drupal 8 (20)

KEY
NRB 2010 Content Managment Systems and Drupal Demo
KEY
Choosing an Open Source CMS
PPT
Diwd 2011-111011223430-phpapp01
PPTX
Comparison of Top CMS Systems
PDF
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
KEY
Drupalcon2009 Heuer3
PPTX
Promet.manila2011.selling drupal.
PDF
USG Web Tech Day 2017 - CMS Tunnel Vision
PPT
Navyug cms presentation 2012
PPTX
The Future Is The Cloud
PDF
High Voltage - Building Static Sites With Wordpress-Managed Content
PPTX
08.m3 cms cms-proprietary&open-src
PDF
portfolio
PDF
Pelatihan
PDF
2010 Open Source CMS Market Share Report
PDF
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
PPT
The Three C’s of NPTech
PPT
The Three C’s of NPTech
PDF
What the White House Knows...
ODP
Cms Bash Groningen Opening talk
NRB 2010 Content Managment Systems and Drupal Demo
Choosing an Open Source CMS
Diwd 2011-111011223430-phpapp01
Comparison of Top CMS Systems
Drupal as a Rapid Application Development Framework for Non Profits / NGOs
Drupalcon2009 Heuer3
Promet.manila2011.selling drupal.
USG Web Tech Day 2017 - CMS Tunnel Vision
Navyug cms presentation 2012
The Future Is The Cloud
High Voltage - Building Static Sites With Wordpress-Managed Content
08.m3 cms cms-proprietary&open-src
portfolio
Pelatihan
2010 Open Source CMS Market Share Report
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
The Three C’s of NPTech
The Three C’s of NPTech
What the White House Knows...
Cms Bash Groningen Opening talk
Ad

More from Mediacurrent (15)

PDF
Evolving How We Measure Digital Success in Higher Ed
PDF
Delivering Meaningful Digital Experiences in Higher Ed
PDF
Content Strategy: Building Connections with Your Audience
PDF
A Better Way to Build and Manage Sites with Rain for Drupal 9
PDF
Leveraging Design Systems to Streamline Web Projects
PPTX
Reimagining Your Higher Ed Web Strategy
PPTX
How to Prove Marketing ROI: Overcoming Digital Marketing Challenges
PDF
Prepare Your Drupal 9 Action Plan
PDF
The Nonprofits' Guide to Content Strategy
PDF
How We Win With Agile
PDF
Georgia Tech's Strategic Drupal Redesign
PPTX
Marketing Attribution Modeling
PPTX
Mediacurrent Introduction to Emotional Design 2019
PDF
Habitat for Humanity and Mediacurrent: Expanding with Drupal 8
PDF
InteractUSG: Intelligent UX in Human Centered Design
Evolving How We Measure Digital Success in Higher Ed
Delivering Meaningful Digital Experiences in Higher Ed
Content Strategy: Building Connections with Your Audience
A Better Way to Build and Manage Sites with Rain for Drupal 9
Leveraging Design Systems to Streamline Web Projects
Reimagining Your Higher Ed Web Strategy
How to Prove Marketing ROI: Overcoming Digital Marketing Challenges
Prepare Your Drupal 9 Action Plan
The Nonprofits' Guide to Content Strategy
How We Win With Agile
Georgia Tech's Strategic Drupal Redesign
Marketing Attribution Modeling
Mediacurrent Introduction to Emotional Design 2019
Habitat for Humanity and Mediacurrent: Expanding with Drupal 8
InteractUSG: Intelligent UX in Human Centered Design

Recently uploaded (20)

PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Advanced methodologies resolving dimensionality complications for autism neur...
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Understanding_Digital_Forensics_Presentation.pptx
sap open course for s4hana steps from ECC to s4
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The AUB Centre for AI in Media Proposal.docx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Weekly Chronicles - August'25 Week I
MYSQL Presentation for SQL database connectivity
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

MagMutual.com: On the JAMStack with Gatsby and Drupal 8

  • 1. MagMutual On the JAMStack with Gatsby and Drupal 8 July 16, 2020
  • 2. Today’s Team Customer Success Gatsby Ben Robertson Bob Kepford Director of Development Mediacurrent
  • 4. Who We Are We are drupal pioneers, digital strategy experts, open source advocates, researchers, designers, and innovators who solve technology challenges .
  • 5. Our Mission To bring together the most talented team members to improve technology for our clients
  • 6. The way to build the web for everyone
  • 7. Our Mission To create a better web for everyone, where security, performance, accessibility, and modern tooling are defaults, not afterthoughts.
  • 8. Decoupled architectures can be a great approach for sites that require functionality beyond what Drupal normally supports. When you decouple, you have the opportunity to choose the best tool for individual technical requirements. | 8 This session will be an inside look at our decoupled approach for MagMutual.com: combining open-source frameworks like Gatsby, Drupal 8, and Serverless, as well as third-party services for user management, a learning management system, and private APIs to build a robust custom platform.
  • 9. This Session is For | 9 Developers Marketer IT Professional IT pros interested in building flexible resilient systems that give their teams security and flexibility Marketers looking for more flexibility in UX and branding. Separating their vision for the web from the CMS lifecycle Developers interested in decoupled Drupal, static sites, & the JAM Stack.
  • 10. Breaking complex problems into smaller more discrete components Drupal 8 as your content hub using JSON API and search API with Elasticsearch GatsbyJS with authentication, search, and a mix of static and dynamic content Learning Objectives | 10 Objective 1 Objective 2 Objective 3
  • 11. | 11 MagMutual For nearly four decades, MagMutual has been a leading provider of medical professional liability insurance.
  • 12. | 12 MagMutual Over 30,000 physicians and healthcare organizations rely on MagMutual.com for learning resources, products, and services covering all aspects of healthcare liability MagMutual
  • 13. | 13
  • 14. | 14 ● Rebrand ● Future proof ● Improve UX for policyholders ● Speed gains for authenticated and anon users We Listened to Their Needs
  • 15. | 15 ● Single source of truth for user data ● Online learning integration ● Progressive learning tracks ● Maintainable and reliable SSO We Listened to Their Needs
  • 16. | 16Drupal & Gatsby The Challenge ● Complex Drupal 7 codebase ● Technical debt ● Extensive business logic ● AJAX (Asynchronous JavaScript And XML) based UX ● Data sync between Drupal other systems ● Difficult to understand code base ● Brittle and error prone custom D7 modules ● Drupal as authentication provider The Solution ● Reviewing Architecture ● Volatility based decomposition ● Separation of concerns ● Using the right tools for each component of the system MagMutual
  • 17. | 17 CMS / Drupal Integrations / Drupal Business Logic / Drupal User Data / Drupal Search / Apache Solr IAM (Identity and Access Management) / Drupal SimpleSAML Legacy Architecture Website / Drupal
  • 18. | 18 CMS IntegrationsBusiness Logic User Data Search IAM (Identity and Access Management) The Components Website
  • 19. | 19 CMS / Drupal Search / Elasticsearch IAM (Identity and Access Management) / Auth0 New Architecture Website / Gatsby User Data / Apollo GraphQL Business Logic, Integrations / Lambda AWS Deployment / Serverless
  • 21. | 21
  • 22. | 22
  • 23. | 23
  • 24. | 24
  • 25. | 25
  • 26. | 26 Insert account dashboard screenshot here
  • 27. ● Speed + performance was a big concern on the old site ● Security ● Open Source advantage ● Developer efficiency ● The content mesh! Why Gatsby? | 27 Website: Gatsby
  • 28. ● JSON API ● JSON API Extras ● Build Hooks (Netlify) ● Search API ● Paragraphs Drupal 8 is full featured | 28 CMS: A Boring Drupal 8 site
  • 29. ● Improved editor UX ● Paragraph previews ● Clean look Wins | 29 Rain Admin
  • 31. ● SSO ● Universal login ● Integrations ● Protocols ● Extensibility Features Authentication: Auth0 | 31
  • 32. ● Form handlers ● Creating users in Auth0 ● API Access callbacks ● Launching third party services Use cases Server-Side Logic: AWS Lambda | 32
  • 33. ● Abstract REST API’s away from the front end ● Unify your APIs ● Normalize data with schemas ● Adapt to changing needs ● Built in documentation Features Apollo GraphQL | 33
  • 34. ● Drupal Elasticsearch AWS Connector ● AWS Elasticsearch ● AWS Lambda rate limiting ● Gatsby SearchKit plugin Features & Integrations Search: Elasticsearch | 34
  • 35. ● Deployment ● Mocking ● Testing ● Logging ● Local development ● Project structure Features Serverless Framework | 35
  • 36. Living with it - Support
  • 37. | 37 The Cons ● More things to support ● More to know ● Harder to debug integration points ● Onboarding The Pros ● Less bugs ● Focus on new features ● Drupal and Gatsby are simple to maintain ● Apollo GraphQL is a huge win ● Improved performance ● Less time to market with new features ● Added another authentication provider with little effort ● Adding new design assets is faster and easier Living with it - Support
  • 38. Questions Does something resonate with you today? Get in touch with us. mediacurrent.com/contact-us mediacurrent.com/resources
  • 39. | 39| 39 Your Feedback is Valuable!