views:

2874

answers:

7

I am new here.

If this is already asked, please delete it.

Which one would you choose?

+3  A: 

The short answer is jQuery.

The longer answer is: type each one into google, and see how many results you get for each (make sure to type Prototype JS for Prototype). That will give you an approximate measure of popularity. This is a subjective measure of a library's strengths, but can be helpful nonetheless.

And by 'dozo' I think you mean 'dojo'.

This has been discussed here at least a zillion times.

karim79
Google Trends! http://is.gd/2b10y
CMS
@CMS - yes, there's that too :)
karim79
+1  A: 

As always, it depends on your application. But I'd recommend jQuery first. Light and very functional, and leads you to write clean code.

tim_wonil
A: 

What I biased my decision on was adoption by major companies. When you go to the jQuery website you can see some of the companies that use it. Also Microsoft has decided to include it as-is in Visual Studio with Intellisense, I mean come if Micorsoft is using it with out messing with it or coming up with their own version it's got to be OK right..I think ;) ?

More importantly take the time to use all the libraries in basic programs and take them for a test drive and see which one seems the most intuitive and easy of use. Plus the amount of support available from documentation, blogs, examples, tutorials, etc.

I would definitely recommend jQuery. It is extremely easy yet can be extremely powerful depending on what your needs are. There are a lot of examples, tutorials, and blogs about jQuery with some really good books available to help you.

ewrankin
"BIASED my decision", huh? There's a Freudian slip if I ever saw one :-)
ChssPly76
IBM puts a lot of money into Dojo, and bests Microsoft in the behemoth computer company department.
Steven Huwig
No doubt and I have nothing against Dojo, but the list of major companies using jQuery were Google, Dell, Bank Of America, MLB, digg, NBC, CBS, Netflix, Mozilla.org, etc, so in my opinion that was enough for me. I doubt those companies pay for or contribute like perhaps IBM does for Dojo. Realistically I think time will determine which one developers like best, I wouldn't be surprised if they both continue to be successful, because they are both powerful libraries.
ewrankin
+2  A: 

You can also check the performance comparision of these tools, i was help me choosing right tool for me. you can access this page from dojo-vs-jquery-vs-mootools-vs-prototype-performance-comparison

Otherwise, you can also find advantages and other summary infos of these tools from prototype-jquery-mootools-ext-dojo-speed-comparison

Or you should look this discussion on the stackoverflow

fyasar
It's too bad that don't show jQuery >1.3 since they have really improved their selector engine, which I believe it now beats pretty much everything.
Darryl Hein
A: 

I think jQuery.js provides best features to you. If you want to see the comparison in all JavaScript frameworks than go through this link:-

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

This will help you to choose.

Regards, Mannusanghi

Mannusanghi
+3  A: 

I learnt Dojo because its support by Zend Framework.

It took me a week (a long week..) but now, I really enjoy it, and I feel very productive!

From what I read, most JS libraries don't encourage you to learn the JavaScript language fundamentals or the DOM. If you want to write great JavaScript applications, the problem isn't the library you use, but how you understand the language, the DOM, and the library, if any.

(I don't have any experience with JQuery/Prototype, and didn't had previous Javascript experience)

Philippe
+5  A: 
Eugene Lazutkin