Book Image

Designing API-First Enterprise Architectures on Azure

By : Subhajit Chatterjee
Book Image

Designing API-First Enterprise Architectures on Azure

By: Subhajit Chatterjee

Overview of this book

API-centric architectures are foundational to delivering omnichannel experiences for an enterprise. With this book, developers will learn techniques to design loosely coupled, cloud-based, business-tier interfaces that can be consumed by a variety of client applications. Using real-world examples and case studies, the book helps you get to grips with the cloudbased design and implementation of reliable and resilient API-centric solutions. Starting with the evolution of enterprise applications, you'll learn how API-based integration architectures drive digital transformation. You'll then learn about the important principles and practices that apply to cloud-based API architectures and advance to exploring the different architecture styles and their implementation in Azure. This book is written from a practitioner's point of view, so you'll discover ideas and practices that have worked successfully in various customer scenarios. By the end of this book, you'll be able to architect, design, deploy, and monetize your API solutions in the Azure cloud while implementing best practices and industry standards.
Table of Contents (14 chapters)
Section 1: API-Led Architecture in the Digital Economy
Section 2: Build Reliable API-Centric Solutions
Section 3: Deliver Business Value for a Modern Enterprise

REST architecture constraints

In Chapter 3, Architecture Principles and API Styles, we discussed different architecture styles and their use, depending on the use case's suitability. The REST architecture style, though widely adopted, has a few limitations that must be understood properly before you decide to use this style. These limitations merely stem from the guidance around building strictly RESTful APIs. But within an enterprise, it is quite likely that deviations may exist due to standards not being interpreted properly by the development teams. It's important to understand what makes a REST API truly RESTful, and why these constraints exist, before building your API.      

In general, there are primarily six key constraints that apply while building RESTful APIs:

  • Uniform interface: This is the key constraint that differentiates a REST API from other types of API implementations. It revolves around the idea that HTTPzzbased...