
Explore how composer manages Drupal dependencies and versioning with composer.json and composer.lock. Learn to install and update Drupal core and modules using composer create project and composer update.
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 drush, the most used command-line interface for Drupal development, and learn to add it as a project dependency, enable modules, inspect routes, and generate modules and blocks.
Learn real-world Drupal debugging techniques and fast local development by disabling caching, enabling tweak debugger, and using development services and settings.local to reveal detailed errors.
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.
Create a custom configuration settings form in a Drupal module with drush tooling, validate inputs, and save settings to configuration and a YAML file.
Override development and production behavior with services.yml and settings.php to disable caching in development and enable it in production. Include tweaks like cache backend null and css preprocessing.
Explore configuration management scenario c, where a development module remains enabled but produces no configuration, and learn to use config filter and config ignore to protect production settings.
Read custom configuration settings to render a social links block in Drupal, fetching Facebook and Twitter values and displaying them via a twig template using a theme hook.
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 :-)
Modernize Drupal JavaScript by removing jQuery and migrating to ES6 using ChatGPT, with Fetch API and arrow functions, plus improved readability.
Thank you for taking this course; please leave a review to improve Drupal developer essentials, and explore the blog for free Drupal code snippets and AI insights like Midjourney, Angular.
[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.