Different types of data storage
Storing and using data are a critical part of any (web) application. Without somehow persisting data we wouldn't be able to build much of anything. However, different uses of data warrant different systems for storing and manipulating it. For the purposes of this chapter, I will use the word data to mean almost anything that has to be persisted somewhere, for any given period of time.
If you've done development in Drupal 7, you already know a few ways of storing data. We had entities (primarily the Node entity type, but others could be defined as well); the variables table, which was a relatively simple key/value store; and an API to interact with the database and do whatever we fancied. This caused many problems, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access