Topics
API
All articles on API, newest first.
Transparency: I have revised all articles afterwards with the help of AI and translated them from German with its help. The ideas, experience and positions are my own. The audio versions of the German originals are read by a synthetic voice.
Products Report Through Their API
Product statistics stay understandable when every system aggregates its own data and offers it through a small HTTP contract with uniform time semantics.
GraphQL Overview: From Schema to Federated API
A walk through GraphQL – from the typed schema through queries and resolvers to real time, operations and federated architecture, assessed as of October 2024.
GraphQL Federation: One Schema from Many Subgraphs
When one team can no longer carry a monolithic schema on its own, Federation splits the graph into subgraphs that a router composes into a supergraph. Using a users and orders example, this article shows how @key and __resolveReference hold entities together across subgraph boundaries.
2024 4
2024 4
- The GraphQL Client: Apollo Link and FragmentsApollo Link runs every GraphQL operation through a chain of middleware: authLink sets headers, errorLink handles errors in one place, split routes subscriptions. Plus fragments as reusable field sets and why interfaces need possibleTypes.SoftwareGraphQLAPI
- Apollo Client: The Normalized Cache and Optimistic UpdatesHTTP caching is possible with GraphQL too, but for client state it is often less direct. That is why Apollo normalizes objects and supports optimistic updates in the UI.SoftwareGraphQLAPI
- Securing GraphQL: Query Depth, Complexity and Rate LimitingA single GraphQL endpoint accepts arbitrarily nested queries – convenient and at the same time a risk of abuse. I show how I build a layered defense against expensive queries with a depth limit, a complexity budget, pagination caps and rate limiting.SoftwareGraphQLAPI
- GraphQL Subscriptions over SSE: Real Time Without Being Forced into WebSocketSubscriptions don’t need a WebSocket. Server-Sent Events are enough for the one-way server-to-client channel, while queries and mutations stay plain HTTP, and the schema decides what counts as a domain event in the first place.SoftwareGraphQLAPI
2023 1
2022 1
2021 2
2021 2
- GraphQL Concepts: Schema, Resolvers, ExecutionThe ideas behind GraphQL that last, no matter which server is in fashion right now – the schema as a typed contract, the query as a shape, the resolver model and the order of execution. A conceptual deep dive with diagrams.SoftwareAPIGraphQL
- A GraphQL Schema That Grows: Evolution Without BreakageHow to evolve a GraphQL schema additively instead of versioning it – safe changes, real breaking changes, @deprecated as a tool and a field migration step by step.SoftwareAPIGraphQL
2018 1
2016 3
2016 3
- API Thinking Before Framework ThinkingIf you define operations, data and failure cases before choosing a framework, you can swap the frontend almost at will later – the other way around, you get an API that mimics a framework.SoftwareGraphQLAPI
- GraphQL-Pouch: Local Data with a SchemaAn open-source experiment from the summer of 2016: a GraphQL runtime that generates a complete CRUD API on top of PouchDB from a schema shorthand – including synchronization via the CouchDB replication protocol.SoftwareGraphQLAPI
- GraphQL as a Question to the SystemHalf a year after the specification, this post sorts out what is really new about GraphQL – and which questions nobody had answered yet in early 2016.SoftwareGraphQLAPI