-- 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.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to