Javascript framework usage among top websites

Source: Internet
Author: User
Tags mootools pingdom ruby on rails
Track from: http://royal.pingdom.com /? P = 305 June 11,200 8

Which JavaScript frameworks are the most common?

To answer that question, we here at pingdom have examined a set of almost 200 popular websites to see if they use a javascript framework, and in that case which framework they have chosen. the websites were collected from the Alexa us top 100 and the webware Top 100 Web apps. the frameworks we looked for werePrototype, jquery, mootools, Yahoo! Ui library, dojo, extjs and mochikit.

We quickly saw that dojo, extjs and mochikit were not used at all by these sites, which lead us to focus on the other four in this article.

Prototype

Prototype is one of the earlier JavaScript frameworks and is also encoded in the Ruby on Rails framework. Of the websites in this test, a total of 13 used the prototype framework.

  • CNN
  • The New York Times
  • Digg
  • Apple
  • Veoh.com
  • Typepad
  • Fox News Channel
  • Finetune
  • Ilike
  • Last. fm
  • Twitter
  • Havip
  • Yousendit
Jquery

Jquery is a framework that has ed a lot of attention due to its speed, size and smart modular approach which has led to a big library of plugins. of the websites in this test, 11 used the jquery framework.

  • Digg
  • BBC
  • Major League Baseball
  • Dell
  • Isohunt
  • Break.com
  • Tinypic
  • Fixmymovie
  • EMusic
  • Kayak
  • Box.net
Mootools

Just like other JavaScript frameworks, mootools contains several functions to help development. One of the more known ones is its advanced effects component. Of the websites in this test, four used the mootools frameworks.

  • Mint
  • Worth1000
  • Bebo
  • Vimeo
Yahoo! Ui Library (Yui)

Yahoo has developed its own JavaScript framework. They use it for their own websites, but have also made it freely available to others. Of the websites in this test, seven used the Yahoo! Ui library.

  • Yahoo! Shopping
  • Zillow
  • Bebo
  • Yousendit
  • Imageshack
  • LinkedIn
  • Walmart.com
Websites that couldn't decide

Some of the websites didn't just use one framework, but several. This will force all visitors to download more than needed and shocould be avoided.

The reason for using more than one framework cocould either be that they want to use the best parts of several frameworks or that they simply started developing using one framework and then later decided to use another one and haven'tbeen able to migrate all of their code yet.

The ones using more than one framework wereDigg(Prototype and jquery ),Bebo(Mootools and Yui) andYousendit(Prototype and Yui ).

Conclusion

Prototype turned out to be the most-used framework in this survey, with jquery not far behind. It was also interesting to see that several sites are using the Yahoo! Ui library. We had imagined that this number wocould be lower and that far more websites wocould be using prototype and jquery.

It shoshould be noted that this survey doesn't necessarily give a 100% complete picture since we only looked at the homepage of the websites. we also didn't log in to any websites. and of course, we didn't look for every single JavaScript framework out there.


How the test was saved med

We made a list of websites consisting of the Alexa us top 100 and also webware's top 100 Web apps (minus actual applications such as Firefox and Skype ). using a special tool we then looked at all the websites after specific keywords to identify the frameworks.

For example, for prototype we looked for the strings "prototype. JS "and"/prototype "which shoshould cover most variations of including the framework, unless the word" prototype "has been completely removed.

We also manually checked all sites that were found to contain references to the frameworks we tested for. In the case of the Yahoo! Ui we excluded sites that only used its css framework and not any JavaScript.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.