Drag & Drop Help

Drag & Drop Help

I have a pretty demanding use-case for D&D, and I'm not sure jQuery offers what i need, but maybe it does and the examples don't seem to be show-casing it.

My application requires the use of 30+ D&D components on any given page. So, it needs to be pretty performant and not sluggish, like a lot of D&D libraries are.

Also, I find that i need a few features that only YUI 3.0 provides, like drag constraints (like invisible boxes).

What I have not found in any library is snapping, like when you move stuff in photoshop and it snaps when you get close to the point where you probably want to drop it.

I am at a point where I was using YUI 3.0 (trying it out) and came to the conclusion that it is a piece of junk. It is bulky and slow - as much as 10x slower compared to jQuery for ajax requests and writes to the DOM (especially before it renders for the first time... man, it is ever slow).

That's not all... YUI 3.0's sandbox model makes it very difficult to wrap the base library with an application core to ensure that the web application could survive an ajax library shakeout. I would go on to say that it's probably impossible because you have to declare the dependencies that your code requires, and the sandbox prevents the use of closures - so no wrapping functionality. What a pain.

Also, YUI().use() is just bloated. It really slows down everything on the page. Their intent was to save bandwidth, but what they made was something that ultimately ruins the user experience. Everything is sluggish and just not very performant. I'm sorry, I have a good quadcore and it still runs like crap.

So... what I want is YUI 3.0's D&D functionality, but as a jQuery plugin. Does this exist, or do I have to write it?