June 2017
Beginner
1091 pages
22h 9m
English
Now that we have modeled questions and answers in our application, it's time to think about how voting might work.
Let's design it a little:
We will make use of a few things we have learned so far in this chapter; transactions will help us ensure the correct score is calculated for answers, and we'll use predictable keys again to ensure that each person gets only one vote per answer.
We will first build a structure to represent each vote and use field tags to be a little more specific about how we want the data store ...
Read now
Unlock full access