Thoughts on YUI
The Yahoo User Interface library is a highly extensive collection of javascript code. I’ve been playing with it because it seems to be the best at figuring out where an element is located exactly. It was used initiality solely for that purpose in Chatter which requires the ability to tell other users where a player is on the screen.
It’s now used to get elements as well. There are now two lingering jQuery components: AJAX and draggable. Both those things seem to be better implemented in jQuery than YUI. jQuery makes it trivial to set a bounding region for draggable objects where YUI requires doing a lot of things yourself. The same goes for AJAX in YUI.
So for now I think I’m going to leave those two things alone. It’d be nice if there was a single library that did everything well but that’s probably wishful thinking.
Leave a comment
You must be logged in to post a comment.