Book Image

Enterprise API Management

By : Luis Weir
Book Image

Enterprise API Management

By: Luis Weir

Overview of this book

APIs are the cornerstone of modern, agile enterprise systems. They enable access to enterprise services from a wide variety of devices, act as a platform for innovation, and open completely new revenue streams. Enterprise API Management shows how to define the right architecture, implement the right patterns, and define the right organization model for business-driven APIs. Drawing on his experience of developing API and microservice strategies for some of the world's largest companies, Luis Weir explains how APIs deliver value across an enterprise. The book explores the architectural decisions, implementation patterns, and management practices for successful enterprise APIs, as well as providing clear, actionable advice on choosing and executing the right API strategy in your enterprise. With a relentless focus on creating business value, Luis Weir reveals an effective method for planning, building, and running business products and services with APIs.
Table of Contents (9 chapters)

GraphQL

The Graph Query Language (GraphQL) was created by Facebook around 2012 by engineers Lee Byron, Dan Schafer, and Nick Schrock. It was open-sourced three years later, in 2015.

Figure 6.10: The GraphQL logo
The GraphQL project is accessible through its official website:
https://graphql.org/

As described by Byron himself in one of his articles, GraphQL came at a time when Facebook's iOS and Android mobile apps were just thin wrappers (mobile WebView) of Facebook's web application. As the number of users grew, so did the complexity of the mobile WebView and thus it started suffering from poor performance and it constantly crashed.

To overcome this challenge, Facebook started transitioning its apps into natively implemented views (as opposed to just web wrappers). However, this raised the need for a mechanism other than HTML to fetch data. In other words, there...