Hi all,
just started an investigation on this one: server-push technology(one of them "comet"), sth like websockets, or sort of long polling - an alternative to the periodic polling of the Ext.Direct which will be the last solution. So wondering if Extjs has sth built into which I can use for my sort of "real time" cross-browser application.
Hi, we are also working on the issue. We have to show push data in a grid. Is there still nothing available to implment server push mechanism in Sencha? If not, then is it possible to it through JQuery in Sencha Grid?
Thanks in advance.
All you need on the Ext JS side is to get your data as JSON. Set up Comet, return some JSON data, use it to load your grid manually. If you need to, write a custom reader that consumes a specific JSON response.
just some hints:
- if you have node.js in your backend then you can use socket.io
- if apps requirements are ok with having websockets, then you can use them.
- depending on your backend you might find already sth implemented, else how eric.cook said setup it yourself.
Thanks for hints everyone. It is working for us now. Pushed data using a vertex server and just refreshed the store of grid at runtime to see realtime updates.
Real time data push in sencha touch for mobile devices
Real time data push in sencha touch for mobile devices
Hi
Is there anything available for sencha touch 2 to show real time updates on mobile devices. We are trying to use vertex server but not able to get the desired output. Server disconnected every time.
If there is any workaround, please share with us. If any other server push technique available then please share.