Loading nested data into a separate store?
Part of my app I'm working on has to do with task management. Basically I have lists, that have items within. When I hit my API endpoint for lists, it returns all items.
I've read the documentation on Ext.data.reader (http://docs.sencha.com/touch/2-0/#!/....reader.Reader) which mentions parsing of nested data - however I'm not sure it stores that nested data how I'd like.
Basically, I'd like to have two stores...one for Lists, the other for Items. When I read in the lists with the nested JSON for items, I'd like all of those to go into the Items store.
Is this how things work currently? If not, is this possible?
Reason being, I'd like to offer multiple views of these tasks...one perhaps broken down by list, another just a flat list of items. I'd also like to minimize the JSON flying across the wire, so if I already have the nested item data, it kind of makes no sense to query it again if I'm going to display the flat list of items.
Hopefully someone can help here...thanks.