Hyperdriven Drupal: A better approach to decoupled application development

gabesullice

The promise of decoupled Drupal is two-fold. One, your project will be freed from the constraints of Drupal’s render arrays and theme system, thereby making it easier to build richer and more dynamic user experiences. Two, that primarily front-end developers and primarily back-end developers will each be able to focus on their own areas of expertise because the underlying system will be neatly separated into “the front end” and “the back end”.

Unfortunately, most decoupled Drupal projects do not end with those promises fulfilled. Why?

This session will answer that question. To do that, it will:

  • Examine the common misconception that a decoupled application is all about the separation of content from presentation.

  • Make the case that considering and planning for the business logic of a decoupled application is the most critical component of those projects.

  • Demonstrate how decoupled Drupal projects become both more simple and more robust by using “hypermedia” (a.k.a. custom links) to drive business logic in a decoupled manner

  • Introduce two new modules developed by the API-first initiative, JSON:API Hypermedia and JSON:API Resources and how they can be used to implement the techniques learned earlier

Learning Objectives

At the end of this session, attendees will be able to:

  1. Recognize the business logic requirements of their decoupled project(s)
  2. Design a decoupled architecture that supports those requirements
  3. Find and use the modules that are required to implement that architecture

Target Audience

To get the most out of this session, the attendee should have spent some time thinking about  the technical challenges that a decoupled project might face or have had first-hand experience with those challenges. For some, that might mean that they are currently in the discovery phase (or later) of a decoupled project, others might have already completed a decoupled project, and yet others might simply be very intrigued & interested enough in decoupled Drupal to think a lot about “how might I do it?

Prerequisites

This session will assume that the attendee has a passing familiarity with any frontend framework (React, Vue, Ember, etc.) and REST APIs in general. Attendees should also be confident module developers and site builders.

Track

Development & Coding

Tags

apis
back-end development
decoupled
system architecture

Experience Level

Advanced

If no timezone is set on your profile, time is displayed in UTC.
Update your profile's timezone