Cuberis Development Standards

Introduction

Welcome to the Standards Documentation for the Cuberis Development Team 👋! The goal of this document is to provide a reference for our preferred standards and practices regarding web development. By adhering to these standards, we ensure all team members (internal or external) can work efficiently between projects while also focusing on long-term maintainability.

Who is this for?

The intended audience for this document is developers. If you aren't familiar with writing HTML, CSS, PHP and/or JavaScript, this may not be for you!

Philosophy

Although, we build complex things, we aim to keep our code as simple and easy to understand as possible. Readability of code should always be favored over cleverness. This ensures that when a future developer picks up part a project, they will not have to spend too long getting up to speed with how things work.

All code in any code-base should look like a single person typed it, no matter how many people contributed. – Principles of Writing Consistent, Idiomatic JavaScript

Also, we build websites for all people which means we want our websites to be as inclusive as possible. This means a strong emphasis on HTML semantics as well as accessibility. Be kind to your users 💖!

Tabs or Spaces?

Tabs please 😎