Writing Custom Drupal Modules the Right Way
A complete, maintainable module pattern using routes, services, dependency injection, permissions, and forms.
Practical engineering notes
Practical Drupal, PHP, architecture, and engineering guidance from enterprise application work.
RSS feed9 articles
A complete, maintainable module pattern using routes, services, dependency injection, permissions, and forms.
A recovery pattern for broken autoloaders and plugin discovery on constrained PHP hosting.
A systematic way to isolate routing, data, rendering, and theme failures when Drupal returns a generic error page.
Theme registry, template suggestions, loader paths, and cache rebuilds explained through a practical template-not-found failure.
How document roots, front controllers, relative resources, and environment configuration affect reliable Drupal requests.
Constructor injection, service boundaries, testability, and the practical value behind the terminology.
Naming, small methods, responsibility, and refactoring practices that reduce the cost of future changes.
Secure Drupal endpoints with explicit routes, authentication, serialization, validation, and cache policy.
Project structure, safe updates, patches, version constraints, and deployment using a reviewed lock file.