kanugula <venkata.kanugula <at> barcap.com> writes: > Hugh Gibson wrote: > > > >> Is it possible to seperate the SDK's genarated .js code away from > >> custom.js > >> in case of make build? > >> E.g., I don't want to have sdk's code inside custom.js when I build > >> it. > > > > I'm not sure that is a great idea. > > > > 1. A new SDK might mean a new interface, so your custom.js would have to > > change as well. > > > > 2. When the integrated script is compiled, the build system automatically > > throws away SDK classes that aren't used, optimising the space taken. > > That wouldn't be possible in the system you are proposing. > > > > 3. It's possible to compress the scripts, so making a single large file > > more efficient to download. Here, we have around 800K of JS source as > > well as the qooxdoo source and the built version, compressed, is just > > 210K. > > > > 4. Browsers download JS files in series - that means that you would incur > > a delay due to downloading the SDK file, parsing and running it, then > > downloading the custom.js file. > > > > 5. A single file is a huge advantage for releasing a new version. I've > > spent enough time with DLL hell to be very thankful that everything is in > > one compiled file. > > > > > > Hugh > >
(I'm sorry to dig this *old* thread) I just want to know if this is possible in some particular case. I have a custom RemoteDataModel with my table, and i want to use it inline in my webapp. I can build it without any problem, but I want to modify/create the table with parameters set dynamicaly by my webapp (size, column, url for the remote model). With a separate custom.js (and uncompressed) and sdk.js I can easyly generate the custom.js with my webapp. With the huge compressed js, I can't. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
