hii...
I have an application that using a timer (every 1 second). The timer will
always request data to the AJAX (php)..
Here is the code :
timer = new qx.client.Timer(1000);
timer.addEventListener("interval", this._timerku, this);
timer.start();
_timerku : function()
{
var reqall = new qx.io.remote.Request("JtChat/thread.php", "GET",
"text/plain");
reqall.send();
reqall.addEventListener("completed", function(e){
.....
.....
.....
}, this);
}
It mean every second the program will make a new object (==> reqall). Does it
consume a lot memory?
Maybe someone has a good step how to request AJAX every 1s ?
Thank you very much
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel