I've become accustomed to jQuery. Dependant on jQuery would be putting
it better.
As such I had the idea of building a "packager" which would allow me to
customize a jQuery distribution to include only the functionality I need
for a project -- such as including the cross browser $.ready(), sizzle
selectors, manipulation functions, and attribute functions .... with
CSS, Events, Ajax, and Traversing abstracted out of the distribution.
Something like YUI's Dependency Configurator;
[
http://developer.yahoo.com/yui/articles/hosting/?datatable#configure ]
My initial thought is that perhaps this work has already been done
somewhere?
Does anyone else have a need for it?
Is it really unnecessary, as the "weight" of the base package is in
Sizzle and the jQuery core/internals?
My goal would be to make a packager that allows you to select components
used... resulting in a lighter weight distribution. This distribution
should be name-spaced [e.g. $ = jQuery-myDist; ] to avoid collisions w/
the potential existence of an introduced jQuery global object
(full-blown version of jQuery).
Having metadata in the jQuery source comments to indicate dependencies
of every function would immensely help this particular endeavor -- but
could cut into maintainability. Eventually the packager could be
extended to include plugins.
Any interest?
~ Brice