At its core, a domain model creates a web of interconnected objects. Each object, or entity, within this model is representational and incorporates both behavior and data. Contentful has four main entity types: user, organization, space, and Environment. This guide will walk you through each of these entities, as well as their relation to each other.
While developing an app from scratch is rather straightforward, developing new features that require changes to your content model and entries requires a more structured approach. This tutorial details how to use the Contentful CLI to script changes to a content model and entries in a structured and reproducible way. We'll use the Blog in 5 minutes as our reference to show how running migration scripts in sandbox space environments enables safe feature development.