j2s-development] Dynamic Loading of JavaScript files
Brought to you by:
zhourenjian
From: Soheil H. Y. <soh...@gm...> - 2006-06-14 14:34:16
|
Hi, I've a proposal for loading javascript files, dynamically. Suppose we have a lot of javascript files generated. As it occures in many applications many of the javascript files are not used frequently. So, Now, if we want to run that application we have to import a lot of js files in the html. This will make the application very slow and heavy. So, we need a dynamic javascript loading mechanism. If we have this mechanism, we can also implement methods like Class.forName(). We can use .z files generated by j2s to dynamically loading need javascript files for each class. In other words, we need something like the Bindows' BiScriptLoader. Regards, Soheil Hassas Yeganeh |