Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content about writing API for versatility as principle #154

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions content/docs/principles/write-api-versatility.md
@@ -0,0 +1,21 @@
---
title: Write API Layers for Versatility
weight: 12
description: In our web development endeavors, we prioritize the creation of API layers that exhibit versatility and adaptability. This involves crafting interfaces that transcend specific user interfaces (UIs) and can seamlessly integrate into diverse platforms. By adhering to this principle, our APIs are not bound to a particular UI, allowing for their utilization across various and unpredictable environments.
---

# Write API Layers for Versatility

In our web development endeavors, we prioritize the creation of API layers that exhibit versatility and adaptability. This involves crafting interfaces that transcend specific user interfaces (UIs) and can seamlessly integrate into diverse platforms. By adhering to this principle, our APIs are not bound to a particular UI, allowing for their utilization across various and unpredictable environments.

## Independence from UI Technology

Our approach ensures that the API remains independent of the underlying UI technology. This practice enhances the flexibility of our solutions, enabling them to cater to different platforms and technologies. The goal is to create APIs that are robust, reusable, and capable of withstanding changes in UI requirements without necessitating significant modifications.

## Future-Proofing

Through the implementation of API layers designed for versatility, we aim to future-proof our projects, providing a foundation that can easily accommodate evolving technologies and user experiences. This commitment to adaptable API design aligns with our broader coding principles, emphasizing sustainable and forward-looking solutions.

## Key Features of a Versatile API Layer

A versatile API layer adapts to various use cases and environments, offering flexibility, abstracting underlying details, maintaining consistency, and being forward-compatible. Additionally, comprehensive documentation and robust security measures are essential to ensure a robust and versatile API.