Content Models Overview
TL:DR Content models are either collections or nodes. Nodes can have children. How the nodes are processed and displayed is taken care of with tags and context. The behavior of a “content model” can change at any time, in contrast to how 7x worked.
Islandora 8’s content modeling is based on ontology with a mix of Drupal’s microservices, context, and action solutions. Islandora objects are referred to as nodes. A node’s type is called a resource model. The resource models include (but are not limited to) audio, binary, collections, digital documents, images, pages, paged content, publication issue, and videos. In Islandora 7, content models refer to how derivatives are generated and how the object is displayed, however in Islandora 8 this concept doesn’t fit the behavior completely. When a model tag is applied to an object/node, this indicates to Drupal which context(s) to use resulting in corresponding actions to be fired thereby generating appropriate derivatives, resource mapping, and specifying an appropriate default viewer.
“Islandora 8 Data Model. Between the original capabilities of Drupal 8, the wealth of available modules, and the work that has already been done with Islandora 8, nearly any standard Islandora 7 content model can be represented in Islandora 8 from the simple (binary, PDF, image, audio, video) to the complex (compounds, books, newspapers). This is all done via the Repository Item content model which contains nearly all of the fields necessary to describe any type of object, and is the core of most of Islandora 8’s Drupal features. Many Drupal views and contexts can be triggered by targeting one or more of the fields in a Repository Item node in a way that makes requiring separate content types unnecessary. Examples include changing the template for displaying a node based on what “type” it is, or changing the viewer that is used based on the type of file a node has.” [link]
- An object is a node (a.k.a. content).
- Nodes have properties that can be configured called fields.
- Fields for nodes are grouped together as content types.
- Datastreams are media, which are files that can have their own fields and media types.
- Metadata used to categorize entities are taxonomy terms, which also have their own fields and vocabularies. They can represent everything from simple labels to more complex concepts such as people, places, and subjects.
