• CHAOS is Yelp’s server‑driven UI framework delivering dynamic content via GraphQL. • Clients query the CHAOS API, which forwards to a federated GraphQL subgraph. • Apollo Federation + Strawberry enable type‑safe Python subgraphs for modular schema. • Multiple backends expose a REST API, each building CHAOS Configurations independently. • The backend constructs SDUI configurations that clients render without native UI code. • Authentication and routing in the API ensure secure, unified access across teams.

Article Summaries:

  • Yelp’s new CHAOS framework delivers server‑driven UI by centralizing content generation behind a GraphQL API. The system uses Apollo Federation with Strawberry‑based Python subgraphs to keep the CHAOS schema modular while integrating it into Yelp’s broader Supergraph. Client requests hit a GraphQL endpoint that authenticates and routes them to a REST‑based backend, where the core logic builds a CHAOS SDUI configuration-a JSON model describing views, layouts, components, and actions. This architecture lets multiple teams manage UI content independently yet expose a unified interface to clients, streamlining the delivery of dynamic, data‑driven screens across Yelp’s services.

Sources: