
Learn the 'Thin Controller' pattern by moving business logic into a custom service. We cover service registration in services.yml, dependency injection, and PHP 8.3 property promotion.
Remember to run "ddev drush cr" via command line to rebuild the service registry so that Drupal can recognize your new PHP classes.
See example project: https://gitlab.com/udemy-code-examples/drupal/-/blob/main/phpunit.xml.dist?ref_type=heads
See example project: https://gitlab.com/udemy-code-examples/drupal/-/blob/main/phpunit.xml.dist?ref_type=heads
JSON:API documentation on Drupal.org: https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi-module/jsonapi
oh-my-zsh's website: https://ohmyz.sh
oh-my-zsh project page on GitHub: https://github.com/ohmyzsh/ohmyzsh
Plugins directory: https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
The Git plugin: https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git
Drupal is a globally used content management system with a large community. It stands out for its extensive possibilities for extension, configuration, and scaling. At the same time, Drupal is a complex system, offering numerous ways to achieve different goals. In this guide, I will present practical solutions based on my experience: from proven components for developing your own Drupal modules to configuring your website in the area of site building, and customizing the frontend.
Drupal is one of the best-known open-source content management systems and is used worldwide by millions of users. The software is suitable for small blogs as well as large corporate portals, universities, NGOs, and government organizations. The community is vibrant and continuously develops the system—new features, modules, and designs are regularly provided.
Drupal’s architecture is designed to flexibly implement many requirements. Whether custom workflows, multilingualism, user permissions, or custom content types—all these features are possible using built-in tools or appropriate extensions. It is precisely this extensibility and adaptability that make Drupal a popular choice for complex web projects.
With my videos, I will guide you through setting up your development environment. You will also learn to understand when Drupal is the right tool and when you might be better off using a different solution for your project. We will look at modern Drupal code and modern approaches.