Local development: good practices (and a bit of custom ones)
summary
Shows a reproducible local setup: ddev and Docker configs that create web, db, phpmyadmin and ssh‑agent containers, Composer project install that finishes in about seven minutes in the demo, and multi‑site + extra hostnames. Adds a custom dev module that runs PHP snippets and inspects controllers, plus custom commands to run phpcs/phpcbf/phpstan and a code‑analysis pipeline. Covers setting up PHPUnit including functional JavaScript tests with ChromeDriver, config sync, stage_file_proxy for images, and git/CI friendly ignores.
AI-written summary · about
chapters (17)
- 0:00Introduction and speaker intro
- 1:03Purpose of local development
- 2:05Local development environment components
- 3:33Essential development tools
- 5:23Code analysis and standards tools
- 6:53Current toolset and workflow
- 8:19Introduction to Dev Desktop
- 13:31Setting up a Drupal project
- 17:09Installing and configuring Drupal
- 20:55Post-installation steps
- 21:59Project structure and best practices
- 24:31Deploying changes to production
- 25:32Developer Console module overview
- 30:14Daily development workflow
- 34:52Debugging and troubleshooting
- 36:39Repository and configuration details
- 41:45Summary and Q&A
