I think Point 2 justifies a single large file. I was not aware of dropped
un-used sdk classes in the build:-O. That's a good design too.

Thanks for sharing.
Kanugula


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
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Seperation-of-SDK-build-from-Application-build-tp14984189p15001703.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to