baljit4495
24 Aug 2012, 4:41 AM
hey guys, im creating an app and using twitter as my experiment for it.
i have a main panel view which holds a list, this list gets populated by a store which is working with a model.
i also have a controller which has an action so that when i press a button it fires off a recursive ajax request, to get the constant twitter feed of a specified account.
what i want my application to do is for it to display any changes made to in my twitter account and automatically update on my application without having to restart the whole app.
i check the browser's console and im recieving the data, i just need a way for it to be displayed onto my view/list
what would be the best way to acheive this, should i add the new json data into my store? and what is the way to re-render the view, im a bit stuck on this part
any help would be much appreciated
i have a main panel view which holds a list, this list gets populated by a store which is working with a model.
i also have a controller which has an action so that when i press a button it fires off a recursive ajax request, to get the constant twitter feed of a specified account.
what i want my application to do is for it to display any changes made to in my twitter account and automatically update on my application without having to restart the whole app.
i check the browser's console and im recieving the data, i just need a way for it to be displayed onto my view/list
what would be the best way to acheive this, should i add the new json data into my store? and what is the way to re-render the view, im a bit stuck on this part
any help would be much appreciated