Decoupled Drupal in Practice: Architect and Implement Decoupled Drupal Architectures Across the Stack
暫譯: 實踐中的解耦 Drupal:跨堆疊架構與實現解耦 Drupal 架構
Preston So
相關主題
商品描述
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.
商品描述(中文翻譯)
獲得對於解耦內容管理系統(CMS)領域中最重要概念的清晰理解。您將學習如何在整個技術堆疊中架構和實現解耦的 Drupal 架構——從構建後端和設計 API 到與前端技術的整合。您還將回顧如何通過廣泛採用的技術(如 Angular、Ember、React 和 Vue.js)在消費者應用程序中呈現數據。
本書的第一部分由 Drupal 創始人及項目負責人 Dries Buytaert 撰寫前言,記錄了 CMS 的歷史及伺服器與客戶端的分歧,分析了解耦 CMS 架構的風險與回報,並介紹了架構模式。接著,本書探討了解耦 Drupal 的核心與貢獻生態系統、身份驗證機制及周邊工具生態系統,然後深入各種技術中的消費者實現。最後,一系列關於進階主題的章節涵蓋了 Drupal 的 REST 插件系統、架構和生成的文檔,以及快取。
幾個項目指向 Drupal 的解耦未來,包括 Contenta CMS 和使用 React 現代化 Drupal 的 JavaScript。今天就開始學習這些及其他令人興奮的發展,與《Decoupled Drupal》一起。
您將學到的內容:
- 評估解耦 Drupal 的風險與回報並分類其架構
- 使用 OAuth、JWT 和基本身份驗證對 Drupal 的請求進行身份驗證
- 通過 HTTP 請求消費和操作 Drupal 內容的 API
- 與其他消費者應用程序整合,支持原生移動和桌面應用程序以及機上盒(如 Roku、Apple TV、Samsung TV)
- 使用 REST 插件系統向 Drupal 的 REST API 添加新資源
- 生成符合 OpenAPI(Swagger)標準的 API 文檔
本書適合對象:
對於有接觸過 WordPress 和 Drupal 等 CMS 的讀者,以及希望跟隨 JavaScript 應用程序開發的人士將會受益。對 API 優先或服務導向架構的熟悉程度是有幫助的,但並不假定。