ADRs from "Mateu Aguiló Bosch"
A collection of software design choices that address architecturally significant requirements made by Mateu Aguiló Bosch
- ADRs 31
- Disciplines 25
- Do not use placeholder text in form fields
- Place form fields in the same order that they are rendered in the resulting page
- Load JavaScript as external resource with defer attribute
- Define the order of steps when building a Drupal site
- Load JavaScript as external resource with async and defer attributes
- Use Typed Entity to encapsulate business logic in dedicated classes
- Leverage view modes when rendering entities
- Use [ticket-id]--[short-description] in feature branch names
- Use JavaScript strict mode
- Use TypeScript for pure JavaScript development
- Use gatsby-theme-adr to manage the ADRs
- Use Claro for the Drupal administration theme
- Use inclusive language in code and technical writing
- Use Simple Add More to improve editorial experience
- Use Type Tray to improve editorial UX
- Configure Composer Patches to Use `-p2` as `patchLevel` for Drupal core
- Store Composer Patches configuration in composer.json
- Use local copies of patch files
- Break composer install if patches don't apply
- Use dedicated accounts for service integrations
- Always hide non-translatable fields on translation forms
- Consistently name entity fields
- Use PHPUnit for unit testing PHP code
- Composer patches configuration and best practices
- Always use typehints in new PHP code
- Block the Drupal user 1 account in production environments
- Confirm Drupal site configuration is always in a default state
- Use strict types in PHP code
- Avoid command aliases and short options
- Environment Indicator
- Use Log4brains to manage the ADRs