JsPush "send" data to browser by calling Javascript functions. Works great for really long scripts with many huge actions.

JsPull only send a JSON encoded string, wich must be evaluated by Javascript. Once evaluated, you got a Javascript object with usefull property : percent, elapsed time etc. Using JsPull works great with AJAX call for, for example, an upload ProgressBar. To evaluate JSON string, you can do it yourself with the eval function or let a JS library do this for you, such as Request.JSON object of the Mootools libs...

Hope this helps.
Lucas

Paweł Chuchmała a écrit :
Yes. JsPush adapter works prefectly for me, and I know how I can use
it. But I don;t understand JsPull.

2009/3/31 Ben Scholzen 'DASPRiD' <m...@dasprids.de>:
Did you take a look at the demo in demos/Zend/ProgressBar/ ?





Reply via email to