qooxdoo schrieb:
> Hi,
>   I posted a couple of weeks ago about how to create a loading screen. Not a
> "loading data" screen, but some visual indication of progress when qooxdoo
> first loads it's classes. Christian advised me to modify the build process and
> it worked!! Thanks!
>
>   I'm thinking of making this generic and possibly checking it (i'm familiar
> with SVN but not in an open source envionment so I might need help with that
> later). Does any body have any ideas on the best way to keep this generic? I
> was thinking of storing the number of classes that need to be loaded in
> something like qx.settings["numClassesDefined"] and then possibly extend the
> template support so you could insert your own code inbetween each class as
> well as around it.
> The generated source includer could then look like this:
>
> qx.settings["numClassesDefined"] = 413;
>
> document.write("<script src=....../>");
> updateProgressbar(1, 'qx.core.bootstrap'); // from template
> document.write("<script src=....../>");
> updateProgressbar(2, 'qx.core.widget');; // from template
>
> etc...
>
> What are peoples thoughts on this approach?
>
>   
This sounds great - as long as it is fully automatic (can be turned on 
and off via makefile instructions). I am all for it - it would make 
loading more transparent. I am not sure, however, whether loading 
scripts via  document.write("<script src=....../>") is synchroneous, 
i.e., whether the progress bar would not rush through even though the 
script loading requests have not returned yet. I have long wondered 
about that and be happy about expert advice.

Christian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to