- File Structure
How to structure projects at the file level, both general and specific to plugins and themes, respectively.
-
Code should be commented thoroughly, and here’s how to do it.
-
Guidelines on (meeting) privacy requirements.
-
Considerations on algorithmic complexity and performance.
-
How and when to utilize best practices.
-
Frontend-specific standards.
-
Backend-specific standards.
-
Various style guides for the different technologies we use.
To ensure everyone’s able to work effectively and efficiently, we enforce a number of standards across our code. Some of these are for performance and security in high-traffic, high-impact sites, while some enable us to collaborate more effectively.
While projects can deviate from these standards (and we encourage experimenting with new standards), projects tend to follow the majority of these rules and guidelines.