Feeds

Microsoft straps open source jQuery to Visual Studio

Necessity meets invention

The Power of One eBook: Top reasons to choose HP BladeSystem

Microsoft is softening its attitude on shipping open-source code with Windows with a decision to distribute the handy jQuery JavaScript library with Visual Studio.

Corporate vice president of Microsoft's developer division Scott Guthrie has said Microsoft will distribute the popular library along with Intellisense, snippets, examples, and documentation "going forward," potentially cutting the time taken to build AJAX applications on .NET.

Guthrie promised Microsoft would become a good member of the jQuery community, by not forking code or departing from the main JQuery branch and by also contributing tests, bug fixes, and patches back to the jQuery project.

Separately, cell-phone giant Nokia has said it's also looking at using jQuery to build applications for its WebKit-based Web Run-Time. jQuery will be distributed with Nokia phones that ship with the Run-Time, a stripped down browser-rendering engine.

It's Microsoft's endorsement, though, that represents the most significant shift. jQuery lets you build AJAX applications using few keystrokes because commands can be chained together.

Distributing jQuery with Visual Studio will put these tools straight into the hands of developers building rich internet applications (RIAs) for Microsoft's .NET Framework with Visual Studio. It should mean coders get access to the same time-saving coding shortcuts as other people out of the box and mean greater compatibility between .NET-based sites in different browsers as developers building those sites should be using the same AJAX libraries as others.

Such is the head start jQuery has, and the importance Microsoft has attached to compatibility, that by supporting jQuery Microsoft has dispensed with its usual policy of re-inventing an existing technology and optimizing it to .NET - as it's done with Ruby.

"Rather than duplicate functionality, we thought, wouldn't it be great to just use jQuery as-is, and add it as a standard, supported, library in VS/ASP.NET, and then focus our energy building new features that took advantage of it," Guthrie said.

Microsoft has also overlooked the fact jQuery is available under the dreaded GNU's General Public License (GPL), under a dual licensing scheme. Instead, Microsoft seems comfortable with the fact jQuery is also available under the MIT license - Guthrie said JQuery will continue to ship under its MIT license.

It emerged earlier this year that Microsoft's server and tools division had decided it could not accept code from outside the company into its dynamic language runtime (DLR) to protect itself from unwanted licenses and IP claims. The company is, though, accepting external code contributions to IronRuby. ®

HP ProLiant Gen8: Integrated lifecycle automation

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
Do YOU work at Microsoft? Um. Are you SURE about that?
Nokia and marketing types first to get the bullet, says report
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Big Blue Apple: IBM to sell iPads, iPhones to enterprises
iOS/2 gear loaded with apps for big biz ... uh oh BlackBerry
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.