[flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Alex MacCaw
You could always use a xmlsocket, and then updates would be instantaneous. Have a look at juggernaut for some pointers. King's School Bruton Ltd. is a company limited by guarantee, registered in England, No. 3304693, registered Charity No. 1071997. Registe

Re: [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Johannes Nel
PM *Subject:* [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer) Hi Adam. Thanks for your reply - I like your idea about keeping the "pushed" data to a minimum. My original idea was to get the entire dataset and then loop through it and compare - your idea is way b

Re: [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Adam Royle
This is some code I have written for a similar project... It simply runs through the dataProvider searching for a matched id. If it finds the id, then it replaces the row, otherwise it adds a new row at the end of the dataProvider. Since you want to track add, update and delete, you'll probably

[flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread oneproofdk
Hi Adam. Thanks for your reply - I like your idea about keeping the "pushed" data to a minimum. My original idea was to get the entire dataset and then loop through it and compare - your idea is way better. I'm really in need of some examples of a timer function, and perhaps some code to make the