Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

Code library aims to fuel easier JavaScript handling

The caretaker of jQuery, which compiles and simplifies tested JavaScript code for developers' use, hopes to establish a foundation to expand the project's reach


The caretaker of jQuery, a project that simplifies writing JavaScript for interactive Web pages, is aiming to establish a foundation to foster growth of the increasingly popular programming project.

jQuery is a library of tested JavaScript that has been edited to make it simpler. It saves developers time from having to write their own JavaScript, which can require time-consuming work to ensure that it runs across different platforms and browsers.

The status of a nonprofit foundation would allow software companies get a tax write-off if they let employees work on jQuery, said John Resig, jQuery's founder and Mozilla's JavaScript evangelist.

Large companies like IBM and Google often allow their developers to work on open-source projects to derive the benefit of influencing the projects.

Also part of the project is jQuery UI (User Interface), a library of components built on jQuery. jQuery UI is composed of a lot of the fun elements associated with Web 2.0, such as drag-and-drop features and widgets.

Those are components that companies want on their Web pages but would normally have to pay to develop. But jQuery is open source, so it's free to use. As a result, companies are hiring people to work in part on jQuery and jQuery UI because "we are now solving real problems for them," Resig said.

Only one person works full time on jQuery UI, and about 20 to 25 volunteers work on the whole jQuery project. The project is funded mostly by donations, which has been occasionally used to invest in code development. A top-notch German developer was hired to do specific work on jQuery UI, and the project paid him with a laptop, Resig said.

jQuery's popularity has surged since the project started around January 2006: Google and Amazon.com are now using it for their Web pages, Resig said. While it's difficult to gauge, Resig estimates about 200,000 people are using jQuery code.

But the benefits of simpler JavaScript trickle down to novice Web site programmers.

"We have a number of people who use jQuery who have never programmed ever, let alone JavaScript," Resig said. "There are people who come from design backgrounds or business backgrounds, and they just want to get something done. They're able to create something interactive now, out of nothing."

jQuery UI was just released last month, so developers are trying to fix stability problems, Resig said. JavaScript is trickier than PHP or Java, Resig said, as every time a software vendor updates a browser, it can potentially put kinks in the JavaScript running on the page -- especially if the browser has a problem.

"We're at the mercy of browser bugs," Resig said.

So Resig is establishing a program where users can test jQuery UI components on a special Web page and report back detailed problems. In the long run, users will get more stable components and developers benefit from broader testing.

"We need user feedback," Resig said. "It has been hard for us to quantify when things go wrong."


Talkback:

commentPost a Comment

 

MOST COMMENTS

 
 





Take control of your content- leverage Microsoft SharePoint
Microsoft Office SharePoint Server (MOSS) offers core content management designed for a broad user population. Attend this webcast to learn how to implement a strategy that allows for the coexistence of both MOSS and advanced ECM solution within the same IT environment. Sponsor: IBM

»  Click here to view this Webcast
  The Path to Enterprise Security
This is your comprehensive guide to Enterprise Security. In it you'll find solutions to the most pressing security threats facing you and your company. Learn the latest on insider threats and how to effectively minimize risk within your organization. Sponsored by Nokia

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 
 

Video

 
 
 

Podcasts

 
IFW Daily 09/04/2008

Sony recalls 73,000 laptops, Google to rework Chrome license after users...

 
 

 

Columnists

 
 
 

Resource Center


Ads by techwords beta  [See your link here]
 




Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist