Drupal 8 Module Development: Build modules and themes using the latest version of Drupal 8, 2nd
暫譯: Drupal 8 模組開發:使用最新版本的 Drupal 8 建立模組和主題,第二版
Daniel Sipos
- 出版商: Packt Publishing
- 出版日期: 2019-03-27
- 定價: $1,380
- 售價: 6.0 折 $828
- 語言: 英文
- 頁數: 580
- 裝訂: Paperback
- ISBN: 1789612365
- ISBN-13: 9781789612363
-
相關分類:
Drupal
立即出貨(限量) (庫存=1)
相關主題
商品描述
Key Features
- Explore a plethora of Drupal 8 APIs and get the best out of them using the power of PHP coding
- Learn to implement efficient data management and data security by creating dedicated modules for it.
- Stay up to date with the changes introduced in the new Drupal 8 releases
Book Description
Drupal 8 comes with a release cycle that allows for new functionality to be added at a much faster pace. However, this also means code deprecations and changing architecture that you need to stay on top of. This book updates the first edition and includes the new functionality introduced in versions up to, and including 8.7.
The book will first introduce you to the Drupal 8 architecture and its subsystems before diving into creating your first module with basic functionality. You will work with the Drupal logging and mailing systems, learn how to output data using the theme layer and work with menus and links programmatically. Then, you will learn how to work with different kinds of data storages, create custom entities, field types and leverage the Database API for lower level database queries.
You will further see how to introduce JavaScript into your module, work with the various file systems and ensure the code you write works on multilingual sites. Finally, you will learn how to programmatically work with Views, write automated tests for your functionality and also write secure code in general.
By the end, you will have learned how to develop your own custom module that can provide complex business solutions. And who knows, maybe you'll even contribute it back to the Drupal community.
What you will learn
- Develop Drupal 8 modules that do all the things you want
- Master numerous Drupal 8 sub-systems and APIs in the process
- Model, store, manipulate and process data to serve your purposes
- Display data and content in a clean and secure way using the Drupal 8 theme system
- Test your business logic to prevent regressions
- Stay ahead of the curve and write code following the current best practices
Who this book is for
The primary target of this book is Drupal developers who want to learn how to write modules and develop in Drupal 8. It is also intended for Drupal site builders and PHP developers who have basic Object Oriented Programming skills.
A little bit of Symfony experience is helpful but not mandatory.
商品描述(中文翻譯)
**主要特點**
- 探索大量的 Drupal 8 API,並利用 PHP 編碼的力量充分發揮它們的潛力
- 學習通過創建專用模組來實現高效的數據管理和數據安全
- 隨時了解新版本 Drupal 8 中引入的變更
**書籍描述**
Drupal 8 擁有一個釋出週期,允許以更快的速度添加新功能。然而,這也意味著需要跟上代碼的棄用和架構的變更。本書更新了第一版,並包括了版本 8.7 及之前版本中引入的新功能。
本書將首先介紹 Drupal 8 的架構及其子系統,然後深入創建具有基本功能的第一個模組。您將學習使用 Drupal 的日誌和郵件系統,了解如何使用主題層輸出數據,並以程式化方式處理菜單和鏈接。接著,您將學習如何處理不同類型的數據存儲,創建自定義實體、字段類型,並利用數據庫 API 進行低層次的數據庫查詢。
您還將看到如何將 JavaScript 引入您的模組,處理各種文件系統,並確保您編寫的代碼能在多語言網站上運行。最後,您將學習如何以程式化方式使用 Views,為您的功能編寫自動化測試,並一般性地編寫安全代碼。
到最後,您將學會如何開發自己的自定義模組,以提供複雜的商業解決方案。誰知道呢,也許您還會將其貢獻回 Drupal 社群。
**您將學到的內容**
- 開發滿足您需求的 Drupal 8 模組
- 在過程中掌握眾多 Drupal 8 子系統和 API
- 建模、存儲、操作和處理數據以服務於您的目的
- 使用 Drupal 8 主題系統以乾淨和安全的方式顯示數據和內容
- 測試您的業務邏輯以防止回歸
- 走在前沿,編寫符合當前最佳實踐的代碼
**本書適合誰**
本書的主要目標讀者是希望學習如何編寫模組並在 Drupal 8 中開發的 Drupal 開發者。它也適合擁有基本物件導向編程技能的 Drupal 網站建設者和 PHP 開發者。
擁有一些 Symfony 經驗會有所幫助,但不是必需的。
目錄大綱
- Developing for Drupal 8
- 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 8 Security
目錄大綱(中文翻譯)
- Developing for Drupal 8
- 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 8 Security