[Flow] Has anybody done some sort of progress bar in flow?

Dominique Feyer dfeyer at ttree.ch
Tue Sep 23 16:21:28 CEST 2014


You can’t stream a JSON, it must be complete to be parsed by JS.

The only way to do that is by calling an AJAX endpoint who return the current percentage of the task. The value can be stored with the caching framework. But « real » progress bar is not an easy task. You can try to use progress.js on the client side.

++

--   
ttree sàrl  
Dominique Feyer  
Rue du Valentin 34 et demi
CH - 1004 Lausanne
+41 21  312 36 35  
dfeyer at ttree.ch
ttree.ch - @ttreeagency - plan d’accès

Le 23 septembre 2014 à 15:10:10, Christian Loock (chl at vkf-renzel.de) a écrit:

Hi,  

I wonder if anybody has ever done some sort of streaming output with  
flow, to feed data to a progress bar in javascript? Is there way to  
stream output chunk by chunk with flow, maybe using the JSON View in the  
MVC Framework? Or is there an other good approach to do something like this?  

Cheers,  

Christian  
_______________________________________________  
Flow mailing list  
Flow at lists.typo3.org  
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow  


More information about the Flow mailing list