Drupal State and the Need for a JavaScript SDK

Session Category Sessions off the "Drupal Island" Room Auditorium Audience Intermediate Time Slot Sat 11:00am to 11:45am (2/19/22)

With JSON:API, Drupal offers an extremely low friction approach to make content from Drupal available to any consuming application. However, Drupal doesn't currently offer any tools to make consuming this data in a JavaScript front end just as frictionless. This leads to developers repeatedly solving the same problems in decoupled builds, and may also contribute to the perception that Drupal isn't JavaScript friendly.

Drupal State aims to bridge this gap by offering a common set of framework agnostic utilities that allow JavaScript developers with limited knowledge of Drupal or the JSON:API spec to take advantage of the best features of Drupal’s APIs. This session will examine the concepts behind Drupal State, along with the role a library like Drupal State could play within the wider Decoupled Drupal ecosystem, including:

  • How Drupal State helps reduce the time necessary for JavaScript developers to start experiencing the benefits of Drupal as a decoupled CMS.
  • How individual Drupal State utilities could be consumed by other Decoupled Drupal projects.
  • Why having an SDK-like library available under the @drupal namespace on NPM is important for the future of Drupal.
  • A proposal for how that core library could help support a future ecosystem of Drupal-friendly components and starter kits.

Last but not least, we'll wrap up with the ways in which Drupal State needs community support, including how you can contribute at Florida Drupal Camp and beyond.

About the Speaker

Brian Perry

Sr. Software Engineer at Pantheon

Chicago, IL

Brian is a versatile developer with experience building complex, interactive web applications in support of large-scale localized sites. Recently he has focused his efforts on evolving Drupal front-end development practices, decoupled Drupal, and design systems and has spoken on the topic at various Drupal events. Brian is a coordinator of the Decoupled Menus Initiative, a Drupal 7 and Drupal 8 Acquia Certified Grand Master, and loves all things Nintendo.

Platinum Sponsors

Gold Sponsors