0%

Book Description

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

  • Evaluate the risks and rewards of decoupled Drupal and classify its architectures
  • Authenticate requests to Drupal using OAuth, JWT, and Basic Authentication
  • Consume and manipulate Drupal content via API through HTTP requests
  • Integrate with other consumer applications for native mobile and desktop as well as set-top boxes (Roku, Apple TV, Samsung TV)
  • Add new resources to Drupal's REST API using the REST plugin system
  • Generate API documentation that complies with the OpenAPI (Swagger) standard

Who This Book Is For

Those with some exposure 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.

Table of Contents

  1. Cover
  2. Front Matter
  3. Part I. Decoupled Drupal Fundamentals
    1. 1. The Changing Web
    2. 2. The Server Side: From Monolithic to Decoupled CMS
    3. 3. The Client Side: From Static to Dynamic Pages
    4. 4. Decoupled Drupal
    5. 5. Advantages of Decoupled Drupal
    6. 6. Disadvantages of Decoupled Drupal
  4. Part II. Decoupling Drupal
    1. 7. Decoupling Drupal 8 Core
    2. 8. Decoupling Drupal 8 with Contributed Modules
    3. 9. Authenticating Requests in Drupal 8
  5. Part III. Consuming and Manipulating Drupal 8
    1. 10. Core REST
    2. 11. Using Views with Core REST
    3. 12. JSON API in Drupal
    4. 13. RELAXed Web Services
    5. 14. GraphQL in Drupal
  6. Part IV. The Decoupled Drupal Ecosystem
    1. 15. API-First Distributions
    2. 16. Software Development Kits and Reference Builds
  7. Part V. Integration with Consumers
    1. 17. React
    2. 18. React Native
    3. 19. Angular
    4. 20. Vue.js
    5. 21. Ember
  8. Part VI. Advanced Topics in Decoupled Drupal
    1. 22. The REST Plug-in System
    2. 23. Contributed Modules for Advanced Use Cases
    3. 24. Schemas and Generated Documentation
    4. 25. Caching
    5. 26. The Future of Decoupled Drupal
  9. Back Matter
107.21.137.184