Orchestr is the powerful data-composition framework at the heart of Laioutr. It is designed to be a flexible and powerful tool for building scalable data layer applications with a focus on type safety, data composition, and modular architecture.
Orchestr is built around four main handler types that work together to provide a complete data layer solution:
Orchestr caches API data at three levels (queries, links, component resolvers) to reduce latency and backend load. See Caching for strategies, cache keys, and how to use the cache in your own handlers.
As orchestr does not know which app is responsible for a given action, query, link, or component, it uses tokens to identify them.
Tokens can be thought of as "contracts" between the frontend, orchestr and the apps. Each token is a unique identifier that is used to identify the action, query, link, or component.
Action Token
Query Token