New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

WinJS Goes Open Source, Adds Windows Phone 8.1 Support

| by Jeff Martin Follow 5 Followers on Apr 07, 2014. Estimated reading time: 1 minute |

Last June at Build 2013 Paul Gusmorino spoke about WinJS 2.0 and the speed improvements that it introduced.  This past week at Build 2014 he returned to discuss WinJS 2.1 and where the library is headed next.  The Windows Library for JavaScript (WinJS) is intended to be an effective way to build applications using HTML, CSS, and JavaScript.  Originally created by Microsoft, its capabilities are not limited to the Windows platform.


Joining the major push by Microsoft to release several of its technologies under open source licenses, Gusmorino announced that WinJS is now licensed under the Apache license with the project hosted on GitHub.  Microsoft’s hope is that this will allow WinJS to be a common library usable on all modern devices and browsers without requiring massive rewrites.  Alongside this outreach, WinJS 2.1 has been released to support Windows Phone 8.1.  For the Microsoft stack this means that there are currently 3 variants of WinJS in use across Xbox, Windows Phone, and Windows 8 apps.  Gusmorino indicated that unifying these 3 platforms is a goal set for 2015 under WinJS 3.0.  The project has produced a road map indicating their next steps for the release. 

WinJS Project Goals

  • Deliver true app experience
  • Build with native experience
  • Enable shared code across devices
  • Contribute to the community new material --  “not deliver Microsoft’s version of something that you already have”
  • Maintain and increase modularity

Examples of WinJS in action are available at Try WinJS, which includes demos with code for all of the controls in the library.  Microsoft maintains a separate project page which is a useful companion to the GitHub page for Windows-based developers.  Preparing WinJS for Windows Phone brought about a few changes intended to provide for a better phone experience.  The Pivot control was added, and several controls were improved.  These changes included performance, and accessibility.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you