[TYPO3-dev] Show progress in backend module => solved

Michael Oehlhof typo3 at oehlhof.de
Sat Jan 8 13:36:39 CET 2011


Many thanks for the ideas and examples.

Because the extension is for a one time migration,
I decided to get the simplest way and use the technic of the old EM.
FLushing the continuous output and update a summary on top of the page 
with JavaScript.

Regards
Michael


Am 08.01.2011 00:43, schrieb Steffen Kamper:
> Hi,
>
> Am 07.01.2011 23:14, schrieb Oliver Klee:
>> Hi,
>>
>> Am 07.01.2011 20:50, schrieb Christian Kuhn:
>>> Another example extension is phpunit, which shows a progress bar when
>>> executing the tests. I have no idea on how this is done there ;)
>>
>> It's done the same way the old EM does (e.g., by outputting lots of
>> small JavaScript snippets that update the progress bar), and I intend to
>> change this to a different method: As I still have lots of
>> piece-by-piece output (the results for the single tests), I'd like to
>> have a JavaScript timer that just calculates the percent done each e.g.,
>> .1 seconds.
>>
>
> i also wouldn't use this technique, it's very error-proned.
> The best is to split rendering in junks and use ajax request to generate
> content, update with javascript. This way you also have the chance to
> interrupt.
> One example you'll find in new extension manager with checking /
> updating translations.
>
> vg Steffen





More information about the TYPO3-dev mailing list