Logo
LullabotArchitecture
HomeAll ADRsDrupal ADRsDevOps ADRs

ADRs tagged "coding"

ADRs
2
Collaborators
5
Disciplines
4
  • Use PHPUnit for unit testing PHP code

    accepted

    5 deciders

    drupal, php, coding, testing

    Decided on 2022-02-07

  • Always use typehints in new PHP code

    accepted

    2 deciders

    drupal, php, coding

    Decided on 2022-01-12

    Following stricter typing where available can significantly reduce bugs, and simplify maintainability. This has been proven by several studies across different disciplines.

Accepted ADRs

  • Load JavaScript as external resource with async and defer attributes

    • javascript
    • front-end
    • performance

    15 days ago

  • Use Typed Entity to encapsulate business logic in dedicated classes

    • drupal
    • code quality

    5 months ago

  • Leverage view modes when rendering entities

    • drupal

    8 months ago

  • Use [ticket-id]--[short-description] in feature branch names

    • git

    a year ago

  • Use identical cache backends on development environments

    • drupal
    • devops

    a year ago

  • Use JavaScript strict mode

    • front-end
    • javascript

    a year ago

  • Use SMACSS to organize CSS within projects

    • front-end
    • css

    a year ago

  • Use TypeScript for pure JavaScript development

    • javascript
    • front-end
    • back-end
    • developer-experience

    a year ago

  • See all
Home
All ADRs
Drupal ADRs
DevOps ADRs
RSS
GitHub
Twitter
LinkedIn
YouTube
Terms of Service

© 2023 Lullabot, Inc. CC-BY 4.0.