I'm creating a backbone application that is divided into months. In my firebase the month is the parent node, and under that I have key\value pairs that I need.
What I can't figure out is how to change the month and trigger everything updating. eg if I hardcode my url it's something like
https://blinding-fire-XXXX.firebaseio.com/Application/Month1
which is fine for getting data for Month1 , but how should I update my application to get data for Month2?
I'm assuming I should be able to use the base url (without Month1) and some sort of filter, but I just can't figure it out.
I have tried , 'restarting' the app when the user selects a different Month and this works the first time a month is shown, but if they return to a previously selected month , I get an empty list.
Hoping someone can point me in the right direction!