Drupal 10 Module Development
by Daniel Sipos
English | 2023 | ISBN: 1837631808 | 580 pages | True PDF EPUB | 7.91 MB
by Daniel Sipos
English | 2023 | ISBN: 1837631808 | 580 pages | True PDF EPUB | 7.91 MB
Build and customize powerful Drupal modules to extend your website's functionalities with this comprehensive guide
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
Explore the new features and improved capabilities of Drupal 10 core
Discover Drupal APIs and elevate your proficiency by leveraging PHP coding
Implement efficient data management and data security by creating dedicated modules
Book Description
Embark on a journey of Drupal module development with the latest edition of this must-have guide written by Daniel Sipos – a Drupal community member! This fourth edition is meticulously revised to cover the latest Drupal 10 enhancements that will help you build custom Drupal modules with an understanding of code deprecations, changing architecture, data modeling, multilingual ecosystem, and so on.
You'll begin with understanding the core components of Drupal 10 architecture, discovering its subsystems and unlocking the secrets of creating your first Drupal module. Further, you'll delve into Drupal logging and mailing systems, creating theme hooks, and rendering a layout. As you progress, you'll work with different types of data storage, custom entities, field types, and work with Database APIs for lower-level database queries. You'll learn to reap the power of JavaScript and ensure that your code works seamlessly on multilingual sites. You'll also learn to create custom views, automate tests for your functionalities, and write secure code for your Drupal apps.
By the end of this book, you'll have gained confidence in developing complex modules that can solve even the most complex business problems and might even become a valuable contributor to the Drupal community!
What you will learn
Gain insight into the Drupal 10 architecture for developing advanced modules
Master different Drupal 10 subsystems and APIs
Optimize data management by modeling, storing, manipulating, and processing data efficiently
Present data and content cleanly and securely using the theme system
Understand helpful functions while dealing with managed and unmanaged files
Ensure your Drupal app has business logic integrity with automated testing
Implement secure coding in Drupal
Who this book is for
If you are a Drupal developer looking to create custom modules for Drupal sites and cater business needs, this book is the one-stop solution for you. Drupal 10 Module Development will be helpful for Drupal site builders and PHP developers with basic object-oriented programming skills, looking to upskill themselves in Drupal module development. A basic working experience with Symfony will be helpful but not mandatory.
Table of Contents
Developing for Drupal
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 10 security