reset password
Author Message
tonyg
Posts: 11
Posted 09:34 Oct 20, 2015 |

Can we assume that a Group's name, Student's name, and Task's name are unique identifiers for the instances of those objects? Or should we allow for multiple Groups/Students/Tasks to have the same name but be different instances?

 

E.g. All group names are unique.

Within a single group, all student names are unique.

Withing a single group, all task names are unique.

Last edited by tonyg at 09:40 Oct 20, 2015.
nextmatrixman
Posts: 57
Posted 10:33 Oct 20, 2015 |

You can compare objects in javascript. In that case, you don't need to use any object property as identifier.

acervantes
Posts: 28
Posted 21:23 Oct 22, 2015 |

Good questions.

If we think about it, allowing multiple groups to cover the same node module should be allowed. In your code, if you create a new JS Object for each group that is requested, then it's almost irrelevant what the name is.  From a GUI perspective, you will display two groups with the same name.  In your drop-downs you will also see groups with the same names.  I

t is okay to use identifiers in your group objects if need be.

 

jpascua
Posts: 197
Posted 11:56 Oct 24, 2015 |

Do the students' name stay attached to the task after refreshing the page?

In fact, is all the data supposed to remain after refreshing the page? Or would the user have to repopulate.

Last edited by jpascua at 11:58 Oct 24, 2015.
d.york
Posts: 7
Posted 23:42 Oct 25, 2015 |

Considering unique id's, should students be unique since each student can only be part of one group?