Microsoft taps JQuery for Visual Studio

The software giant will be offering and supporting the JQuery JavaScript library. Nokia, too, has taken a shine to the open-source project.

Sample JavaScript using JQuery.
Sample JavaScript using JQuery. Microsoft

Microsoft said Sunday that it plans to ship the JQuery JavaScript library with its Visual Studio developer tool suite.

The software powerhouse said that jQuery would be one of the libraries used to implement higher-level controls in the ASP.net Ajax Control Toolkit, and would also have a role in new Ajax server-side helper methods. The 15KB JQuery JavaScript library will be distributed as is, with no forking, and files will continue to adhere to the JQuery MIT license.

In addition, Microsoft said that it would contribute tests, bug fixes, and patches to the JQuery open-source project and that later this year it would extend product support to JQuery.

The announcement came in a blog post by Scott Guthrie, a vice president in Microsoft's developer division, who described the library's attraction:

A big part of the appeal of jQuery is that it allows you to elegantly (and efficiently) find and manipulate HTML elements with minimum lines of code. jQuery supports this via a nice "selector" API that allows developers to query for HTML elements, and then apply "commands" to them. One of the characteristics of jQuery commands is that they can be "chained" together - so that the result of one command can feed into another. jQuery also includes a built-in set of animation APIs that can be used as commands. The combination allows you to do some really cool things with only a few keystrokes.

Guthrie also pointed to a newly posted tutorial on Scott Hanselman's Computerzen blog about integrating JQuery with ASP.net Ajax.

Writing on the JQuery blog, John Resig said that mobile phone heavyweight Nokia also is adopting JQuery as part of its application development platform. As is the case with Microsoft, he said, Nokia isn't looking to make any changes to the library, and its developers will contribute to the JQuery project.

Resig, a lead developer of JQuery, wrote:

Nokia is looking to use jQuery to develop applications for their WebKit-based Web Run-Time. The run-time is a stripped-down browser rendering engine that allows for easy, but powerful, application development. This means that jQuery will be distributed on all Nokia phones that include the web run-time...

...The jQuery test suite is already integrated into the test suites of Mozilla and Opera and this move will see a significant level of extra testing being done on Internet Explorer and WebKit - above-and-beyond what is already done by the jQuery team.

About the author

Jonathan Skillings is managing editor of CNET News, based in the Boston bureau. He's been with CNET since 2000, after a decade in tech journalism at the IDG News Service, PC Week, and an AS/400 magazine. He's also been a soldier and a schoolteacher, and will always be a die-hard fan of jazz, the brassier the better.

 

ARTICLE DISCUSSION

Conversation powered by Livefyre

Don't Miss
Hot Products
Trending on CNET

Hot on CNET

CNET's giving away a 3D printer

Enter for a chance to win* the Makerbot Replicator 3D Printer and all the supplies you need to get started.