Keep and Share logo     Log In  |  Mobile View  |  Help  
 
Visiting
 
Select a Color
   
 
JQuery vs. Prototype

 

 

This w3techs.com current article claims 20.5 times more websites use JQuery than use Prototype.  JQuery is used by 57.4% of all websites and prototype is used by 2.8%.  from here.  in Dec 2013

 

Now in March 2016 it says 69.8% of websites use jQuery for a 96% marketshare vs a 2.9% for Prototype.  Used 33.1 times more

Others include Bootstrap, Modernizr, MooTools 

 

 

But another article says "Much of this growth can likely be attributed to the fact that jQuery comes bundled with a number of popular open source blogging and content management software systems, including DotNetNuke, Drupal, and WordPress. Sysadmins who are running these systems might not be aware that they are using the library." (from here)

 

From Dec 2011 "Reading the prototypejs mailing list archives, it's pretty clear that prototypejs is pretty much dead at this point in time.  The tapestry5-jquery team have done a great job replacing prototypejs with jquery which is pretty much the defacto javascript library these days. "

 

JQuery has a mobile web framework too (from here)

 

A March 2011 comment (from here)--  Having used Prototype, Scriptaculous and jQuery. I find jQuery to be far more powerful, in that I tend to write far fewer lines of code than with Prototype.

I think what makes it particularly useful/powerful is:

  1. The chaining of queries (each jQuery returns itself so you can chain them together)
  2. Working with arrays/collections of results as a single unit eg: $('.tab').hide() could hide all elements of class tab
  3. I find the API extremely 'discoverable' and commonsensical, in that, having a little knowledge I can achieve the results I am after eg: $(':input').parents(':not(:first)').show() would show all the parents of every input element except the first parent.
  4. and probably most of all is the extensibility and plugin architecture of jQuery is incredible and has created an awesome community of plugins, where I can find practically anything I should ever need

 

A Dec 2009 comment -- I was working with Prototype before, and I switched to JQuery because:

  • Tons of plugins.
  • Much lighter (in term of download size).
  • HTML parser.
  • Method chaining.
  • Simpler DOM manipulation.
  • Much bigger momentum.

 

 


Creation date: Dec 17, 2013 5:01pm     Last modified date: Mar 28, 2016 12:21pm   Last visit date: Dec 11, 2024 9:29pm
1 / 1000 comments
Sep 30, 2021  ( 1 comment )  
9/30/2021
9:02am
anonymous user (anonymous)

 

    Report Objectionable Content