Gain a clear understanding of the most important concepts in the decoupled CMS landscape. You will learn how to architect and implement decoupled Drupal architectures across the stack—from building the back end and designing APIs to integrating with front-end technologies. You'll also review presenting data through consumer applications in widely adopted technologies such as Angular, Ember, React, and Vue.js.
Featuring a foreword by Drupal founder and project lead Dries Buytaert, the first part of this book chronicles the history of the CMS and the server–client divide, analyzes the risks and rewards of decoupled CMS architectures, and presents architectural patterns. From there, the book explores the core and contributed landscape for decoupled Drupal, authentication mechanisms, and the surrounding tooling ecosystem before delving into consumer implementations in a variety of technologies. Finally, a series of chapters on advanced topics feature the Drupal REST plugin system, schemas and generated documentation, and caching.
Several projects point to a decoupled future for Drupal, including the Contenta CMS and work to modernize Drupal's JavaScript using React. Begin learning about these and other exciting developments with Decoupled Drupal today.
What You’ll Learn
Who This Book Is For
Those with someexposure to CMSes like WordPress and Drupal and those who wish to follow along with JavaScript application development will benefit. A familiarity with API-first or services-oriented architectures is helpful but not presumed.
Part I. Decoupled Drupal Fundamentals.- 1. The Changing Web.- 2. The Server-side Web: From Monolithic to Decoupled CMS.- 3. The Client-side Web: From Static to Dynamic Pages.- 4. Decoupled Drupal.- 5. Advantages of Decoupled Drupal.- 6. Disadvantages of Decoupled Drupal.- Part II. Decoupling Drupal.- 7. Decoupling Drupal 8 Core.- 8. Decoupling Drupal 8 With Contributed Modules.- 9. Authenticating Requests in Drupal 8.- Part III. Consuming and Manipulating Drupal 8.- 10. Core REST.- 11. Using Views with Core REST.- 12. JSON API in Drupal.- 13. RELAXed Web Services.- 14. GraphQL in Drupal.- Part IV. The Decoupled Drupal Ecosystem.- 15. API-first Distributions.- 16. Software Development Kits and Reference Builds.- Part V. Integration with JavaScript Consumers.- 17. React.- 18. React Native.- 19. Angular.- 20. Vue.- 21. Ember.- Part VI. Advanced Topics in Decoupled Drupal.- 22. The REST Plugin System.- 23. Contributed Modules for Advanced Use Cases.- 24. Schemas and Generated Documentation.- 25. Caching.- 26. The Future of Decoupled Drupal.