[dojo-contributors] Loader-less builds?

Rawld Gill rgill at altoviso.com
Thu Mar 10 19:30:11 EST 2011

Yes, I am definitely planning on this option. I prototyped some ideas about a 
year ago and was able to make a loaderless dojo base. Things have changed so 
that this work is not of much direct use other than to say it can be done.

I'll try to demonstrate this idea with bdBuild together with the work I'm 
doing on the bootstrap (discussed at the 2 Mar meeting). I hope to have 
something to show you all before next week's meeting.


On Thursday 10 March 2011 13:27:31 Kris Zyp wrote:
> Along the lines of creating more compressible (with Closure or other
> future tools) and lighter builds, I was wondering if any of our build
> tools could ever create builds that directly generated variables from
> modules in such a way as to make the connections more visible to code
> compressors and avoiding even needing a module loader. Here is an
> example of what I mean:
> https://gist.github.com/864958
> Having the capability to create such a build would have several benefits:
> 1. Closure seems to understand this and do pretty impressive compression
> on it.
> 2. Built application potentially doesn't need any loader code, saving
> even more KBs.
> 3. Package authors can easily generate zero-dependency scripts that make
> their code available to extremely broad range of developers
> 4. May provide more ease in compatibility if sub-paths are mapped to
> nested namespace (as I did in the example).
> Anyway, I realize that there is a lot functionality in AMD that may be
> non-trivial to map to this. Just wanted to see if this is a possibility
> worth exploring.
> Thanks,
> Kris
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-contributors

More information about the dojo-contributors mailing list