views:

178

answers:

4

I want to know what you guys think of these 2 frameworks, in terms of:

  • robustness,
  • code quality,
  • core developers moving forward with new features,
  • cross browser problems,
  • module components,
  • easiest to learn and integrate

I already know and use jQuery, I recently found it lacking in terms of 'enterprise ready' components for large web app.

Now I don't want to start a debate on jquery, or why mootools is not in there, I want to know what you guys think of these 2 frameworks specifically.

Thanks!

+3  A: 

I think your reason for rejecting jquery sounds suspicious, and recommending a framework as "enterprise ready" is a backhanded compliment in my book.

However, I have a lot of experience with YUI (2 and 3) and I think it might fit your use-case.

  • Robust - YUI is used internally by Yahoo, so that should give some clues as to its robustness.
  • Code Quality - I'm a contributor to the project, and the code quality is very good. As it is open source you can take a look for yourself.
  • Moving Forward - It is backed by Yahoo (but also incorporates community contributions) so moving forward it is pretty safe. Again, you can track development and community involvement yourself.
  • Cross Browser - it supports all the Yahoo A-grade browsers
  • Modules - there are a ton, and (especially in YUI 3) it is easy to incorporate just the pieces you need. If you want mostly GUI modules, you'll still need to mix in some YUI 2 (which is easy to do). Widgets in YUI3 are coming soon, though.
  • Easy to learn and integrate - YUI has probably the best documentation of any JS library I've seen. However, YUI 3 is very opinionated about how you write your javascript. It is opinionated in a good way and gives you a lot of bang for your buck, but to just "drop in" to an existing project YUI 2 may be easier.
Gabe Moothart
well, I am not rejecting it per say, I just found jQuery UI lacking some feature I need, and other plugins are not the same quality as jQuery core.
Cedric Dugas
That is true. You'll find more consistent quality and documentation in the YUI widgets. I just tend to favor simplicity and think widgets are overused :-).
Gabe Moothart
I can't speak to Dojo or JQuery, but I find that one of YUI's great strengths is the core of the library which makes creating and extending robust widgets pretty easy. In my experience, someone else's widget almost never satisfies 100%. Either you make do with what you get, or you customize. YUI provides a nice starting block and the advanced tools to customize. IMO.
Matthew Smith
A: 

There is no single answer. Check this page and pick the one that fits your needs:

http://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks

Pierre 303
+4  A: 
Eugene Lazutkin
As always, Eugene, well put.
Kyle Hayes
A: 

YUI has a great testing toolkit and doesn't pollute the global namespace. Also, YUI test results can be read by JUnit, which is a plus in my book. I haven't used Dojo so I can't comment on it in detail, but the way it integrates with the DOM is worthy of notation.

Scott