Object classes and their models
The Scrivito SDK makes the CMS data model available to your Rails application. In this model, all CMS objects are represented by the “Obj” base class and the classes derived from it. The functionality provided in “Obj” is the default you can override or extend in the derived object classes, e.g. “Homepage.” For details on how to create object classes, see Creating and Modifying Object Classes.
To illustrate how the object class hierarchy helps to provide functionality for different page types, imagine a website where pages of almost all types include a breadcrumb navigation. The template for this might contain the following: