Matthew Weier O'Phinney wrote:
-- Colin Guthrie <[EMAIL PROTECTED]> wrote
(on Wednesday, 03 September 2008, 11:15 AM +0100):
Also as a side not it's nice to see Dojo having such an equal part of
this release to the library itself:
[EMAIL PROTECTED] 1.6.0]$ du -sh library
19M library
[EMAIL PROTECTED] 1.6.0]$ du -sh externals/dojo/
19M externals/dojo/
Very balanced ;)
Dojo is a very large library -- it is to JS what ZF is to PHP in many
ways, including comprehensiveness. Interestingly, much of its heft in
SVN and source tarballs comes from non-JS code -- they keep a variety of
images and graphic files in the util/resources/ tree that account for
about 1/3 of the size, but which are never used in client-side code, and
intersperse testing files in with the code, accounting for another 15%
or so. There are also Java JAR files included -- in particular, Rhino --
used for creating custom builds and the actual Dojo releases
themselves.
Due to the heft of the library, we made the decision to do the
following:
* Offer a "lean-and-mean" distribution that includes just the ZF
library -- no unit tests, no documentation, no Dojo. These packages
are around 2MB, and are fully functional (even the Dojo integration
works, as CDNs are used by default).
* Offer an "everything-and-the-kitchen-sink" distribution that
includes the library, tests, documentation (english), and a Dojo
build (stripped of unit tests and extraneous resources, but with all
the tools necessary to create custom builds).
* Continue to link to Dojo via svn:externals in our repository.
Yeah I noticed these.
To be honest I was just pointing out that it's was an interesting
coincidence that both ZF and dojo came in 19Megs!
I can probably use the lean version in my vendor branch setup, but I
still say the broken file should be removed or completed in the
tarball/RCS. It doesn't serve any purpose.
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]