Drupal 9 Module Development, 3rd Edition

Sub-title: 
Explore modern development practices for building professional modules and themes for Drupal sites
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2020-08
Page count: 
493
ISBN-13: 
9781800204621

Learn

Develop custom Drupal 9 modules using expert techniques
Master numerous Drupal 9 subsystems and APIs as you develop modules
Get to grips with modeling, storing, manipulating, and processing data for effective data management
Display data and content cleanly and securely using the Drupal 9 theme system
Test your business logic to prevent regression
Stay ahead of the curve and write PHP code by implementing best practices

About

Drupal is an open source content management system that empowers millions of independent developers and organizations with end-to-end website solutions. Updated to include the new functionalities introduced in Drupal 9, this third edition of the Drupal Module Development guide will help you to stay on top of code deprecation and the changing architecture of Drupal with each new 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. This Drupal guide will take you through different kinds of data storage before helping you 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, 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!

Features

  • Explore a plethora of Drupal 9 APIs and get the best out of them using PHP programming
  • Create modules for efficient data management, security, and much more in your Drupal sites
  • Discover best practices for transitioning from legacy Drupal 7 and Drupal 8 APIs to Drupal 9

Enterprise Drupal 8 Development

Sub-title: 
For Advanced Projects and Large Development Teams
Authors: 
Publisher: 
Apress
Publication date: 
2017-05
Page count: 
328
ISBN-13: 
9781484202548

Successfully architect a Drupal 8 website that scales to meet project requirements of any size and scope.
Starting with a one-chapter review of Drupal basics, you'll dive into deeper topics including software development processes, architecting a Drupal site, scaling Drupal, working effectively with themes, and more. In addition to a thorough discussion of custom module development and how to develop modules as building blocks, you'll also review many common ways of integrating Drupal with other 3rd party systems.

Building and maintaining an enterprise-ready Drupal website presents a unique set of challenges and complexities. From development processes and content management to deployments, version control and more, all aspects of Drupal development are impacted when two or more developers are on a project. If you are involved in a Drupal project that requires frequent updates and long-term support from a team of developers, system administrators, and end-users, Enterprise Drupal 8 Development is for you.

Whether you're an experienced Drupal developer looking to expand your skills, a systems administrator managing a Drupal project, or a PHP developer new to Drupal, Enterprise Drupal 8 Development will give you the knowledge and inspiration you need to manage large and complex projects.

What You'll Learn

Architect Drupal for development teams and apply best practices for large Drupal projects
Integrate 3rd party applications with Drupal
Manage content, code, and configuration across multiple staging environments
Build a consistent user experience for administrators and content creators

Who This Book Is For

The primary audience is intermediate to advanced Drupal developers who are working on large-scale Drupal projects and advanced PHP developers new to Drupal

The secondary audience is IT Professionals such as Systems Administrators managing Drupal projects

Live Computations during node creation or edit

There has been so many requests regarding "live computation" during node add/edit. Here's how i got mine working without breaking anything. This link pointed me to the right direction.

Create a custom module. Change all instances of MYMODULE to the name of your module

Drupal 8 module development, 2nd edition

Authors: 

Daniel Sipos
with Foreword by Dries Buytaert, founder of Drupal.

Publisher: 
Packt Publishing
Publication date: 
2019-03
Page count: 
580
ISBN-13: 
9781789612363

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.

Foreword by Dries Buytaert, founder of Drupal.

Commerce PayPal Checkout

Get API credentials

1. Register your app at the PayPal Developer Portal

Go to the PayPal Developer Portal and log in with your PayPal credentials. Click on Log into Dashboard in the upper-right corner.

You will be directed to the My Apps & Credentials page. Scroll down to under the REST API Apps section, click Create App.

Pages

Subscribe with RSS Subscribe to RSS - Programmers