“API First” or, as some may call it, “Decoupled Drupal”, remains a topic of much discussion among the Drupal community. Here are just a few sessions being presented at Drupalcon Baltimore:
- 4K’s own Todd Ross will break down multichannel publishing and content-as-a-service in his talk “The Future of the CMS”.
- Matt Grill, Preston So, and Sally Young will explore Drupal’s future with regards to content APIs in their core conversation “Decoupled From the Inside Out”.
- Mateu Aguiló Bosch will get technical in his talk about Drupal’s new JSON API module in Advanced Web Services with JSON API.
- “React, GraphQL, and Drupal” will cover how Michael Schmid and Sebastian Siemssen of Amazee Labs powered 12 separate sites with the same Drupal backed content API.
I’m very excited about hearing these different perspectives. However, one thing I’ve always felt was missing from these kinds of talks—by nature of being limited to 45 minutes—was a comprehensive hands-on guide on how to do API First Drupal. So, someone who wants to manage content in Drupal, but use something else to build their UI, is often left wondering where to start. There is simply not enough time to dig into these details in a session format…
…but there is enough time in a full day training!
(Monday, 24th April, 2017, 9am-5pm EDT, room 323 of the Baltimore Convention Center)
API First Drupal 8 with React and Waterwheel
Earlier this year, We had the privilege of teaching this training at Sandcamp in San Diego. People loved it and left very helpful feedback that we’ve used to improve the training and make it even better. Here are a few topics we’ll cover at DrupalCon North America 2017:
Decoupled Architecture and REST APIs
Building decoupled sites is not for the faint of heart. In fact, in many cases I wouldn’t recommend it unless multichannel content publishing is a strong goal of your project. So, before we get ahead of ourselves, we’ll explore the “why” behind decoupled architecture and the basics of REST. We’ll also describe the different architectural decisions available to you in the Drupal ecosystem and how to know when they’re a good fit.
Building UIs with React.js
React is a declarative component-based library for building user interfaces. It is declarative in the sense that your components describe what your UI should look like based upon properties they receive and the state they hold. Imperative code for rendering components is not needed. You can simply declare a tree of components just like you do with HTML, and React takes care of updating the UI if data changes. While it isn’t perfect, React’s community, developer experience, and performance make it a great choice for building interactive UIs. In the training, we’ll learn React’s APIs and write some components together.
Interacting with Drupal’s API and Waterwheel
Connecting “All The Things”
Come Learn with Us!
Getting hands-on experience with these techniques will demystify API First Drupal and will give you a taste of what building real decoupled apps is like. I hope to see you there—and if you can’t make it, at least come say hi to me at the Four Kitchens booth!