jQuery - the best JavaScript library?

JavaScript

Over the past few years we've noticed an ever increasing number of JavaScript libraries like Yahoo, Prototype, MooTools... It's cool that there's so much effort going into these. But sometimes having so many options available isn't a good thing. Potential problems include:

  • every new library is, really, a new programming language
  • using several libraries may confuse a web developer when changes to the code have to be made
  • even though libraries may be similar, every new one means you have to use a different syntax
  • code written in one library can be incompatible with the code written in another one

So the choice for us is obvious. We need to decide on one multi-purpose library that will meet our requirements and is easy to learn and use. After a long discussion (and a few differences of opinion!) we made the conclusion that Squiz UK is going to use jQuery from now on.

jQuery is a relatively new lightweight web application framework, released at BarCamp NYC by John Resig. The decision to use this library was based on the following:

  • user-friendly syntax - easy to learn and use
  • well documented on its website - wide range of tutorials
  • powerful - handles AJAX
  • recommended at AJAX conference (info thanks to Raf - Squiz's representative at that conference)
  • supports most (if not all) web browsers (Firefox, IE, Safari, Opera, NetScape)
  • it is supported by Google

What's more, additional information regarding jQuery can be found in the following books:

So lets put it into action. Here's an example of how easy it is to use:

Cool and easy example.

Author: Lukasz Pelc
Published: 06 Dec 2007 12:42pm




Comments:

There are currently no comments to this article.




You can add your comment here:

Name:

Comment:

Security key

Regenerate security key

Useful Tools

Additional informations

Latest News

Squiz Acquires Leading Australian Search Company Funnelback to Deliver More Sophisticated and Intuitive Enterprise-Class Search Solutions

Squiz today announced its acquisition of the enterprise search engine technology and services company Funnelback at a private executive seminar event in London...

Squiz Announces New Global, 24x7 Enterprise-Class SLA for Multi-National MySource Matrix Open Source CMS Customers

Squiz Announces New Global, 24x7 Enterprise-Class SLA for Multi-National MySource Matrix Open Source CMS

Open Source Web Content Management Gaining Real Momentum in Enterprise Sector as Budgetary Pressures Take Hold; MySource Matrix in, Commercially Licensed Systems Out

Squiz UK today announced a successful start to 2009 with the confirmation of six new enterprise customer engagements for its Supported Open Source Content Management System (CMS), MySource Matrix. In comparative terms, new wins for the period January to March 2009 represent a 50% growth over the same period in 2008.

New Bundling Scheme Makes MySource Matrix v3.20 the World’s Most Accessible, Fully Integrated and Easy to Evaluate Enterprise CMS

Squiz, developers of the world’s leading enterprise-class Supported Open Source CMS, MySource Matrix, today announced the introduction of a brand new, ultra-simple packaging initiative for its web content management product.

New Web Site for Supported Open Source CMS Leaders Squiz: More Valuable Content, More CMS News and More Best Practices for Building World-Beating Open Source CMS Platforms

Squiz today unveiled an all-new web site. As creators of the world’s leading enterprise Supported Open Source CMS, the site represents a complete online revamp for its UK operations...

Latest Articles

White Papers

A Better Way to Buy Enterprise Web Content Management: MySource Matrix and Supported Open Source MySource Matrix and Supported Open Source: A Better Way to Buy Enterprise Web Content Management
Data Value Program Data Value Program: Making Your Data More Valuable and Your Site More Functional

Footer Links