Skip to main content

CX Framework

The CX Framework (Customer Experience Framework) is responsible for rendering your composed experiences in your target environment. A target environment can be any user-facing channel or touchpoint like a website, email, or digital signage. Check out our Guides section for examples or take a look at the high-level overview below.

Overview

Connecting Composer Core to your environment usually involves the following 3 parts:

  1. Integration — For each target environment we provide an integration that accepts a fetcher.
  2. Fetcher — The Fetcher is responsible for fetching the information about the composed experience from a source (e.g. our Delivery API).
  3. Renderer — The integration then hands off the returned data to the Renderer that - based on the provided layouts and components - renders the actual experience.
flowchart LR; Target["Target Environment"]-->Integration["@atamaco/{framework}"]; class Target mermaidMutedElement Integration-->Fetcher["@atamaco/fetcher-atama"]; Integration-->Renderer["@atamaco/renderer-{framework}"]; Fetcher-.->Experience; Renderer-.->Experience; class Experience mermaidMutedElement

Example

This is what the above graph would look like when your website uses Next.js:

flowchart LR; nextjs["Website / Next.js"]-->Integration["@atamaco/nextjs"]; class nextjs mermaidMutedElement Integration-->Fetcher["@atamaco/fetcher-atama"]; Integration-->Renderer["@atamaco/renderer-react"]; Fetcher-.->Experience; Renderer-.->Experience; class Experience mermaidMutedElement