[dojo-contributors] Prototype-al simplicity

Dylan Schiemann mail at dylans.org
Fri Apr 7 12:44:15 EDT 2006

Hash: SHA1

Alex Russell wrote:
> On Friday 07 April 2006 7:42 am, Paul Sowden wrote:
>> On 7 Apr 2006, at 04:09, Bill Keese wrote:
>>> How come it's so much bigger?
>> Ok, here's an initial size breakdown: <http://dojotoolkit.org/
>> ~psowden/dojolite.html> (DOM (Gecko!), please)
>> Seems like dojo.io is the biggest offender.  It also looks like all
>> the modules need squeezing to achieve results so I guess it kind of
>> confirms the size problem is institutional.
> So one interesting result is that we can drop the dojo.graphics.color 
> dep entirely if we don't provide dojo.style.getBackgroundColor. Nothing 
> other than the effects namespace uses it in our code anyway.
> Should it be (re)moved?

One thing we really need to keep in mind is that Dojo's use of an
internal API should not be the only measure of whether or not something
should be part of Dojo.  If it is a useful utility for people developing
Dojo apps, then it is needed somewhere, perhaps just not with the Dojo
core distributions.

Also, in the case of Dojo, bloat and performance are not always tightly
coupled.  We should be evaluating performance issues as well as bloat
using our profiling capabilities, because frankly performance is even
more important than bloat.  I don't mean this to stomp on all of the
great effort people are putting into this.  I'm just saying, performance
should not be overlooked in this review process.

- -Dylan
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the dojo-contributors mailing list