moviepilot/chaplin — Issue #4: Data presistance after route changing
Author: michaltaberski
Created: 2012-03-02 08:53:18+00:00
State: open

Hi,

I'm not pretty sure if it's a right place to discuss about it, but I would like to ask you about one of your concepts, and consider it at my use case.

In your app flow after the route is matched, the controller is initialialized, where next are initalized model, and collections. However, I would like to ask you what do you do in case, you want to keep data between routes changes?

Eg. imagine a case, when you want to present one collection on two views - one is a grid in table form, and second is a map, when you mark collection items. You want to store selected view, so you need routes to be involved. However there is no need to initialize collection each time. How would you solve this case?

PS. Do you have any discussion list or sth. to talks about chaplin patterns ?