Closed nathanbreitsch closed 10 years ago
fragments should describe the things people submit. stories should describe the overall story, which may be a sequence of fragments. I will think about this and possibly make the change.
You have a collection of selected sentences and a collection of submitted sentences. We will eventually need to store votes too. I agree that fragments are a better description than sentences since we do not require complete sentences. I think we should name the first two collections either "selected" and "submitted" or "selectedFragments" and "submittedFragments". The third would simply be "votes."
for example, foreach story gets all the sentences in the story which is counterintuitive