Go to content

DrupalCon Seattle 2019: Gatsby & Drupal

Gatsby (https://www.gatsbyjs.org/) is a fun to use React application generator that makes it easy to create blazing fast websites. And it works really well with Drupal. At it's core, Gatsby uses a system for extracting data from sources like Drupal, and then using that data to generate static pages at build time. The technique allows for many of the benefits of both static sites (speed, ease of deployment, etc.) and those built using a content management system (easy to update, user friendly editorial interface, and more). What's maybe not obvious on the cover is that the combination of Gatsby and Drupal can also be used to create sites that handle things like user authentication and personalization. Something you don't find in most static sites. This presentation looks at how you can build a web application that sources content from Drupal, renders ultra-fast static pages with Gatsby, then combines that with traditional React for user authentication and personalization. With the goal of providing attendees with the information they need to get started doing so, and some examples of what's possible. In this presentation you'll learn: Why Gatsby is awesome for static sites How to use Gatsby and Drupal together to create decoupled applications How to handle private content, and other personalization within a decoupled application This session assumes you've got at least a high-level understanding of how React works.

April 8, 2019