Follow Us

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

Microsoft open sources Windows Library for JavaScript

The Windows WinJS JavaScript library can now be used to help build apps for non-Microsoft browsers

Article comments

Potentially helping developers more quickly build cross-platform applications, Microsoft is releasing as open source its WinJS JavaScript library for building Windows-styled controls.

Now that the library is open source, developers can use it to build and design Windows-like Web applications for other browsers and platforms, including Chrome, Firefox, Android, and iOS.

Such cross-platform capability could save developers time by eliminating the need to code the same app multiple times for non-Windows platforms and browsers other than Internet Explorer, according to the company.

While the name "WinJS" may imply that it is a Microsoft version of JavaScript, it is in fact a collection of JavaScript tools for enabling advanced components and user interface controls, which minimize the changes developers have to make for using these features across different devices.

"We're really not interested in having a Microsoft's version of another thing you already have. That is not our goal. Our goal is to contribute something new, to solve actual problems people have," said Paul Gusmorino, a principal program manager lead on the team responsible for user interface platforms in Windows, in a WinJS session at the Microsoft Build developer conference, being held this week in San Francisco.

Microsoft first released this library in 2011 so developers could build Windows applications both for Windows Phone and the Windows 8 Modern interfaces using JavaScript, along with HTML, CSS and other Web development tools. It was one of two ways Microsoft offered to build interfaces for its new Windows 8 platforms, the other being XAML (Extensible Application Markup Language).

The library features components that can help build the infrastructure of a Web app, such as data binding. It also offers advanced user interface controls and designs such as ListView, FlipView, animations and semantic zoom.

Microsoft offers demonstrations of the various features, along with their implementation code, on the WinJS Preview Web site.

Gusmorino admitted that work still needs to be done to make WinJS fully compatible with non-Microsoft browsers, such as Firefox and Google Chrome. Some work has already been done to allow WinJS to easily interoperate with other JavaScript libraries, such as Angular, jQuery, and Knockout.

The library, now under the care of the Microsoft Open Technologies subsidiary, itself is now under a Apache 2.0 license, and the code base is maintained on GitHub.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com



Share:

More from Techworld

More relevant IT news

Comments



Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Advancing the state of virtualised backups

Dell Software’s vRanger is a veteran of the virtualisation specific backup market. It was the...

Download Whitepaper

Techworld UK - Technology - Business

Innovation, productivity, agility and profit

Watch this on demand webinar which explores IT innovation, managed print services and business agility.

Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *