News for hackers. Stuff that matters.
Re:Yahoo’s Mojito is Now Open Source by ary on Monday April 02, 2012 @03:00PM (#3789555)
YUI was released the same year as jQuery. Care to qualify that a bit?

Edit: Had my dates wrong.

Re:Yahoo’s Mojito is Now Open Source by debacle on Monday April 02, 2012 @03:12PM (#3789598)
YUI was more extensible, followed (mostly) good JavaScript patterns (making heavy use of the module pattern), had relatively good cross-platform support and an easy to understand interface.

To top it off, the documentation was top notch.

Re:Yahoo’s Mojito is Now Open Source by jmathai on Tuesday April 03, 2012 @03:51AM (#3791967)
> To top it off, the documentation was top notch.

Serious? That's what drove me away. It might have been top notch academically but for real life use I found it painful to get answers and simple code problems fixed.

Re:Yahoo’s Mojito is Now Open Source by digamber_kamat on Tuesday April 03, 2012 @06:41AM (#3792330)
That is not true. YUI community is pretty vibrant and the developers go out of the way to help you.
Re:Yahoo’s Mojito is Now Open Source by jmathai on Tuesday April 03, 2012 @11:27PM (#3796072)
Here's an example.

The top hit on Google for "make an ajax request with (YUI|jquery)" the documentation page is the first hit.

YUI's page is here, the line of code to make the request is well below the fold. http://developer.yahoo.com/yui/connection/

JQuery's page has it listed immediately. In fact, 2 variants above the fold. http://api.jquery.com/jQuery.ajax/

I'm not saying one is right and another is wrong. I'm just saying jQuery's gets more adoption. It's easier and people tend to like that.

I don't, for example, understand why I have to scroll past the YUI dependency configurator to get to the syntax I'm looking for.

Re:Yahoo’s Mojito is Now Open Source by debacle on Wednesday April 04, 2012 @09:14AM (#3797364)
You're looking at the current version of the documentation. jQuery didn't have nearly as good documentation five years ago, and YUI's was much better than it is today (I think YUI3 is a step back for Yahoo).
Re:Yahoo’s Mojito is Now Open Source by jmathai on Thursday April 12, 2012 @04:17PM (#3833992)
So jQuery's has gotten better and YUI's has gotten worse?

I just know that when I did try it (2009) I felt the same as I do today.

Re:Yahoo’s Mojito is Now Open Source by thezilch on Monday April 02, 2012 @05:12PM (#3790135)
At the time and for at least a year following...

  1. Yahoo hosted scripts, including roll-ups
  2. UI components and styles
  3. The best documented library, both outside and inside thde code, hands down
  4. More feature complete (ex. one I can recall off the top of my head, form handling of upload inputs didn't exist in jquery, and extending jquery internals was/is a nightmare in comparison)
  5. The best documentation, hands down
  6. Yahoo hosted scripts, including roll-ups
  7. The best documentation
jquery has come a long way with documentation, but then YUI has evolved even further in becoming a modular library.