jQuery future modularity?

jQuery future modularity?

Ahoy all.

I heard something somewhere about a future version of jQuery becoming more modular.
How exactly will that work?

I would imagine that individual modules would be broken up into very focused areas of functionality.
Basic DOM manipulation, CSS, AJAX, DOM Events, Custom Events, etc…
Sizzle is an awesome step towards modularity.

Would you then be able to make your own custom jQuery build similar to how MooTools builder works?

Over in the MooTools universe we have been pushing for all MooTools plugins to include a list of explicit dependancies across multiple packages. We're working on a tool that'll let you build out a plugin and include only the absolute minimum necessary modules across many packages, even only including some MooTools-core modules. We're working with the CommonJS community too.

It would be super-super awesome if our plugins could also add individual jQuery modules as dependencies. Then users could use only the code they want without having to include two selector engines, two AJAX modules, etc…

A lot of people are really excited about this possibility, including me!

Let me know if there's anything I can do to help out.

— Thomas Aylott
SubtleGradient
MooTools