
Learn to apply Drupal patches with composer by adding patch URLs to composer.json, using extra/patches, and running composer install to apply patches.
Explore Drupal's devel and web profiler modules, learn to install them across Drupal 8–10, manage dependencies with Composer and Drush, and use route names and dump for debugging.
Note: I downgraded back to drush 11 because my custom drush commands were not working anymore. Currently investigating :)
Commit: https://github.com/stef-van-looveren/learning-drupal-as-a-framework/commit/618472fc7eae3d07cc350c8a4378af491f1aa95a
Sorry for the "uhms" and silences :-)
[Please read the table of contents first! Also the prerequisites are important]
A comprehensive video course designed to provide developers with essential skills and knowledge required to work effectively with Drupal.
This course covers a range of critical tools and best practices, with a focus on Composer, Git, CLI tools, and debugging techniques. By the end of this course, students will have a solid understanding of the Drupal developer ecosystem and will be well-equipped to build robust, maintainable, and efficient Drupal projects.
Course Outline:
Composer: Learn the basics of Composer, the dependency manager for PHP, and its significance in the Drupal ecosystem. Discover how to use Composer to manage your Drupal project dependencies.
Basic Composer Commands: Master essential Composer commands, such as installation, updating, and removing packages, to streamline your development workflow.
Patching with Composer: Dive into the process of applying patches to Drupal projects using Composer, ensuring compatibility and stability across your project.
Git Best Practices: Understand the best practices for using Git, the popular version control system, in the context of Drupal development, including branching, merging, and committing.
CLI Tools: Get introduced to Drush, and learn how to automate tasks and improve your development experience.
Development & Debug: Learn about Drupal's development and debugging tools, such as Symfony VarDumper, Xdebug to identify and resolve issues in your code more efficiently.
Webprofiler: Discover how to use Webprofiler, a Drupal module that provides performance insights and detailed information about your application's inner workings.
Configuration Management: Understand the basics of Drupal's configuration management system and how it helps to maintain consistency and manageability across your projects.
Creating Custom Configuration Settings: Learn how to create and manage custom configuration settings for your Drupal modules, providing flexibility and customization to your projects.
Different Configuration per Environment: Explore strategies to manage environment-specific configurations, ensuring a smooth deployment process across development, staging, and production environments.
By the end of this course, you will have a deep understanding of the essential developer tools and best practices required to excel as a Drupal developer. Enhance your skills and become a more efficient, confident, and capable developer in the Drupal ecosystem.