I'm building a media player menu with Backbone.JS that have different smaller options for each option, i.e. shuffle can have specific intervals/entire song/etc., repeat for repeat 1 song or repeat playlist, next, previous.
Right now, I have a Backbone model called Menu, which lists all these options within it. After reading up some more, I realize I should have separate models for each of these options. But after reading the post linked below, I am a bit confused. The Menu options I have should not be a collection, right? So I'm a bit confused between these options and how to template each one:
1) Keep all my options in a Menu model, and update subViews accordingly 2) Have a separate model for each option, and update a corresponding view 3) Have a collection of all these models, so
Related: loops in underscore js template