Why is jQuery so much more popular than Prototype and Scriptaculous?
Asked by
RafBM (
100
)
December 28th, 2009
I learned JavaScript with Prototype/Scriptaculous and love them both, but everywhere I look I see jQuery. What’s the main reason why it is so much more popular? Is it easier to learn? Is it only popular because it is popular, like lots of documentation, plugins, etc?
Observing members:
0
Composing members:
0
7 Answers
Some reasons off of the top of my head:
1. It is smaller
2. It is faster
3. It is easy to extend (plugins and such)
4. It is true to javascript. Prototype is like a ruby-ized javascript
Thank you for the invite RafBM!
Will keep that in mind!
jQuery and Prototype are pretty similar except for some specific functions and CSS selection. jQuery tends to get the gob done a bit more efficiently. And the fact it is so ubiquitous alone is an advantage.
I think the code looks cooler, the jquery website has a great manual. It has a cooler name too :)
@pjanaway There is that. Prototype is too darned generic. Sound’s like something that’s not quite ready for prime time yet. And Scriptaculous is just too darned hard to spell. :-)
@ETpro that probably has a lot to do with it.
I use Mootools personally.
@Breefield Yeah, I think Mootools is a cool sounding name. Something you do till the cows come home.
Answer this question 
This question is in the General Section. Responses must be helpful and on-topic.