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

Christian Loock brainshack at gmail.com
Mon Sep 29 10:37:23 CEST 2014


Yeah thats basically what I have done. I store the progress of the main
process in the session and have another action that just returns the
progress that it fetches from the session.

2014-09-29 10:10 GMT+02:00 Chris Wolff - AERTiCKET AG <cwolff at aer.de>:

> Hi Christian,
> as Dominique Pointed out. Normaly you write some AJAX handler to poll the
> server to update the
> for status updates.
>
> In modern browsers you could use "webSockets" to create an conection where
> the server is able to "push" content tot he client.
>
> Regards chris
>
>
> -----Ursprüngliche Nachricht-----
> Von: flow-bounces at lists.typo3.org [mailto:flow-bounces at lists.typo3.org]
> Im Auftrag von Dominique Feyer
> Gesendet: Dienstag, 23. September 2014 16:21
> An: TYPO3 Flow mailing list; Christian Loock
> Betreff: Re: [Flow] Has anybody done some sort of progress bar in flow?
>
> 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
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>


More information about the Flow mailing list