Skip to content

Development principles

Adhere to a solutions architecture

Software SHOULD align with our API-first and Cloud-first strategies. Follow a Solutions Architecture Design, reviewed by the Technical Design Assurance Group, to meet these goals.

Write modular code

Build modular code using APIs and NuGet packages.

Further reading and information

Azure DevOps handbook

Practical tips

Sharing validated, trusted code is a principle of secure coding.

Use version control

Effective source control is essential. Follow our guide for help.

Using source control

  • Structure repositories for clarity and scalability.

  • Use consistent branching and merging strategies.

  • Follow versioning conventions to track releases.

  • Write clear, conventional commit messages.

  • Conduct constructive code reviews.

Practical tips

Apply source control to databases and application code.

Follow coding standards

Deliver reliable, maintainable software by adhering to these guides:

Note

T-SQL Coding Standard

Rules for table design, maintainable queries, procedures, and transaction handling.

Note

How to Organise Your Software Solution

Guidance on project structure, folder conventions, documentation, and dependency layering.

Note

General Coding Standards

Clean code, defensive coding, implementing SOLID principles and Microsoft formatting and naming standards.

Adopt Continuous Integration (CI) and Continuous Delivery (CD)

All teams MUST use CI/CD to improve quality and accelerate the frequency of deployment.

For full guidance on how to implement CI/CD, refer to the references below:

Further reading and information

Using Source Control

Azure DevOps handbook

Publishing as open source

The Digital Service Standard for Wales and the Welsh Technical Standards Board encourage making source code open. But this guide does not cover open-source publishing.

If you plan to make your source code open, you SHOULD obtain the necessary approval and comply with any necessary organisational or legal requirements.

Practical tips

Access to github.com/GIGCymru/GitHub-GIG-Cymru/wiki/Public-Repos requires a DHCW GitHub Enterprise account.