Drupal 9 Module Development - Third Edition: Get up and running with building powerful Drupal modules and applications
暫譯: Drupal 9 模組開發 - 第三版:快速上手構建強大的 Drupal 模組和應用程式
Sipos, Daniel
- 出版商: Packt Publishing
- 出版日期: 2020-08-14
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 626
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1800204620
- ISBN-13: 9781800204621
-
相關分類:
Drupal
海外代購書籍(需單獨結帳)
商品描述
Build and extend flexible Drupal sites and applications with this up-to-date, expert guide to Drupal 9 module development
Key Features
- Explore the essential Drupal 9 APIs for module development
- Learn how to implement data modeling, caching, architecture, and much more in your Drupal applications
- Discover what’s new in the latest Drupal core releases
Book Description
With its latest release, Drupal 9, the popular open source CMS platform has been updated with new functionalities for building complex Drupal apps with ease. This third edition of the Drupal Module Development guide covers these new Drupal features, helping you to stay on top of code deprecations and the changing architecture with every release.
The book starts by introducing you to the Drupal 9 architecture and its subsystems before showing you how to create your first module with basic functionality. You’ll explore the Drupal logging and mailing systems, learn how to output data using the theme layer, and work with menus and links programmatically. Once you’ve understood the different kinds of data storage, this Drupal guide will demonstrate how to create custom entities and field types and leverage the Database API for lower-level database queries. You’ll also learn how to introduce JavaScript into your module, work with various file systems, and ensure that your code works on multilingual sites. Finally, you’ll work with Views, create automated tests for your functionality, and write secure code.
By the end of the book, you’ll have learned how to develop custom modules that can provide solutions to complex business problems, and who knows, maybe you’ll even contribute to the Drupal community!
What you will learn
- Develop custom Drupal 9 modules for your applications
- Master different Drupal 9 subsystems and APIs
- Model, store, manipulate, and process data for effective data management
- Display data and content in a clean and secure way using the theme system
- Test your business logic to prevent regression
- Stay ahead of the curve and write PHP code by implementing best practices
Who this book is for
If you are a Drupal developer looking to learn Drupal 9 to write modules for your sites, this book is for you. Drupal site builders and PHP developers with basic object-oriented programming skills will also find this book helpful. Although not necessary, some Symfony experience will help with understanding concepts easily.
商品描述(中文翻譯)
**建立和擴展靈活的 Drupal 網站和應用程式,這本最新的專家指南將帶你深入 Drupal 9 模組開發**
### 主要特點
- 探索模組開發所需的基本 Drupal 9 API
- 學習如何在你的 Drupal 應用程式中實現資料建模、快取、架構等功能
- 發現最新的 Drupal 核心版本中的新功能
### 書籍描述
隨著最新版本 Drupal 9 的推出,這個受歡迎的開源內容管理系統平台已更新了新功能,使得構建複雜的 Drupal 應用程式變得更加簡單。本書的第三版涵蓋了這些新的 Drupal 特性,幫助你掌握代碼棄用和每次版本更新所帶來的架構變化。
本書首先介紹 Drupal 9 的架構及其子系統,然後展示如何創建具有基本功能的第一個模組。你將探索 Drupal 的日誌和郵件系統,學習如何使用主題層輸出資料,並以程式方式處理菜單和連結。一旦你理解了不同類型的資料儲存,本指南將演示如何創建自定義實體和欄位類型,並利用資料庫 API 進行低層次的資料庫查詢。你還將學習如何將 JavaScript 引入模組,處理各種檔案系統,並確保你的代碼在多語言網站上正常運作。最後,你將使用 Views,為你的功能創建自動化測試,並撰寫安全的代碼。
到書籍結束時,你將學會如何開發自定義模組,以解決複雜的商業問題,誰知道,你甚至可能會為 Drupal 社群做出貢獻!
### 你將學到的內容
- 為你的應用程式開發自定義的 Drupal 9 模組
- 精通不同的 Drupal 9 子系統和 API
- 建模、儲存、操作和處理資料,以實現有效的資料管理
- 使用主題系統以乾淨和安全的方式顯示資料和內容
- 測試你的商業邏輯以防止回歸
- 走在前沿,通過實施最佳實踐來撰寫 PHP 代碼
### 本書適合誰
如果你是一名 Drupal 開發者,想學習 Drupal 9 以為你的網站編寫模組,那麼這本書適合你。Drupal 網站建置者和具備基本物件導向程式設計技能的 PHP 開發者也會覺得這本書有幫助。雖然不是必需的,但一些 Symfony 的經驗將有助於你更輕鬆地理解概念。
作者簡介
Daniel Sipos is a senior web developer specializing in Drupal. He's been working with Drupal sites since version 6, and started out, like many others, as a site builder. He's a self-taught programmer with many years' experience working professionally on complex Drupal 7 and 8 projects. In his spare time, he runs webomelette, a Drupal website where he writes technical articles, tips, and techniques related to Drupal development.
作者簡介(中文翻譯)
丹尼爾·西波斯是一位專注於Drupal的資深網頁開發者。他自Drupal 6版本以來便開始從事Drupal網站的開發,起初和許多人一樣,擔任網站建置者。他是一位自學成才的程式設計師,擁有多年在複雜的Drupal 7和8專案上專業工作的經驗。在空閒時間,他經營一個名為webomelette的Drupal網站,撰寫與Drupal開發相關的技術文章、技巧和技術。
目錄大綱
- Developing for Drupal 9
- Creating Your First Module
- Logging and Mailing
- Theming
- Menus and Menu Links
- Data Modeling and Storage
- Your Own Custom Entity and Plugin Types
- The Database API
- Custom Fields
- Access Control
- Caching
- JavaScript and the Ajax API
- Internationalization and Languages
- Batches, Queues, and Cron
- Views
- Working with Files and Images
- Automated Testing
- Drupal 9 Security
目錄大綱(中文翻譯)
- Developing for Drupal 9
- Creating Your First Module
- Logging and Mailing
- Theming
- Menus and Menu Links
- Data Modeling and Storage
- Your Own Custom Entity and Plugin Types
- The Database API
- Custom Fields
- Access Control
- Caching
- JavaScript and the Ajax API
- Internationalization and Languages
- Batches, Queues, and Cron
- Views
- Working with Files and Images
- Automated Testing
- Drupal 9 Security