Reviewing the data model
With the template workbook created, we are now ready to review how the Honeycode team set up the data model for the Instant Polls app. However, before we dive into that, let's take a couple of minutes to think of the data that is required for such an app.
We are creating a poll, so it naturally has a question and a set of options. We need information about the poll itself in terms of its creator, creation date, and due date. Furthermore, we need to store who our voters are and what they have voted for in individual polls.
Now that we have an idea of what sort of data we need, let's explore the different tables in the workbook and the data they store, as well as the relationship between them (if any). The template comes with six tables, as shown in the following screenshot:
Let's understand the elements in Figure 8.3. We'll look at these next.
...