including assets

Ok, maybe I’m just not wrapping my head around this one, but the whole registering of assets seems a bit odd to me.

Specifically, I’ve run into this: jQuery is included, then the jquery object is modified with a bunch of plugins, but then a yii plugin goes and includes another version of jquery, wiping out the original object and all it’s plugins.

I understand the need to protect against conflicts, but the case where a bunch of yii plugins can each include their own version of an asset seems ridiculous and over-complicated to me.

Is there a tutorial or overview doc on how the asset registration system works? Something better than the class reference that is?