Views on a global Store
i need a global store which contains many posts (identified by an unique id from the server) and some stores which interact as a view (like in databases) on this global store.
The problem is that the views are communicating with the server and do remoteFiltering there (own implementation, note remoteFilter of ST2).
Now i have two solutions: Either I use many stores, iterate across all of them and manipulate all corresponding records or I provide many ST2 (local) filters and use one global store.
The solution I want is having many stores, retrieving filtered Notes from the server but storing them in one global store. The (not global) stores should only reference to the posts which they should contain.
Is their any possibility?
You can have the global store listen for the load event or datachanged event on the local stores.