Content modeling for apps
This folder is for app developers who build on content that editors maintain in Exponential. The app does not own the content model: the site team defines the classes and the tree, and the app reads them. The pages here explain what to look at and what to agree on, so the app does not break when editors do their normal work.
Contents
Why the model matters to an app
- Every screen maps to a content class: a list cell for
article, a detail view forproduct. - Every entry point maps to a node: the folder the news list starts from, the page a deep link opens.
- Every text has a language, and an item may exist in some languages only.
- Article bodies are rich text, which reaches the REST API as plain text.
Agree before you build
| Topic | Agree on | Read |
|---|---|---|
| Classes and fields | which classes the app shows, which fields, and who announces changes | Content classes for apps |
| Entry points | the folders the app starts from, identified by remote id | Node ids, remote ids and deep links |
| Languages | which locales the app supports and what it shows when a translation is missing | Multilingual content |
| Rich text | plain text, rendered XHTML or a structured export | Rich text in apps |
| Images | which named sizes (aliases) the app uses | Image aliases for screen sizes |
Pages in this folder
| Page | Answers |
|---|---|
| Content classes for apps | Reading class definitions, mapping classes to screens, surviving class changes |
| Node ids, remote ids and deep links | Stable ids, URL paths and links from the web into the app |
| Multilingual content | Translation, languageLocale, the site's languages and fallbacks |
| Rich text in apps | The three ways to show article bodies |
Related pages
- How Exponential content reaches an app
- Designing your content model
- The content model and editing content
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.