Hacker News new | past | comments | ask | show | jobs | submit login

Why?

PS: Is YUI3 gaining traction? Has features missing in jQuery? ...




I was porting an app prototype from jQuery to YUI3, and started taking notes on equivalent snippets of code. It seems to be useful, so I wrote it up.


I was wondering what the business case was for the switch. I'm evaluating both for a project of mine right now. (I use GXT for another project, but that won't fly for this one.)


The app was a mix of yui2 (widgets) and jq (selectors). Yui3 has both.


thanks for the writeup. It will help when I'm moving yui-flot to yui3


I think it's interesting to see the different approaches used by jQuery and YUI. Plus if you know jQuery, you can get a good sense of YUI's style just by going down the list and comparing syntax. This also pointed out a few things that YUI can do out of the box that jQuery can't, such as cross-domain requests via a flash helper.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: