WinJS

WinJS
Stable release 4.0 / June 8, 2015 (2015-06-08)
Development status Active
License Apache License 2.0
Website github.com/winjs/winjs

The Windows Library for JavaScript (abbreviated as WinJS) is an open source JavaScript library developed by Microsoft. It has been designed with the primary goal to ease development of Windows Store apps for Windows 8 and Windows Phone apps for Windows Phone 8.1 and Xbox One[1] applications using HTML5 and JavaScript, as an alternative to using XAML and C#, VB.NET or C++ (CX).

WinJS started as a technology that was specific to Windows Store apps, but has evolved to aim at working in any Web browser.

In April 2014, during the Microsoft Build developer conference, WinJS was released under the Apache License as free and open source software with the intent to port it to other than Microsoft platforms. A site dedicated to demonstrate the library has also been published.[2]

Overview

WinJS provides helpers that facilitate the development of Windows Store apps using HTML5 and JavaScript. The library consists of modules and functions that expose the Windows Runtime in a way that is consistent with JavaScript coding conventions. WinJS makes it possible to add Windows UI controls in HTML. This is accompanied by support for data binding and a template engine.

Other JavaScript frameworks, such as JQuery, can work side-by-side with WinJS. The library comes with additional declaration files for a rich developer experience using TypeScript, a strict superset of JavaScript with annotations. TypeScript enables for code completion and refactoring while maintaining compatibility with JavaScript.

Features

Version History

WinJS 1.0

The first version of WinJS. It was released with Windows 8.0.

WinJS 2.0

WinJS was released as open-source software under the Apache License on GitHub by popular demand. The project aimed at cross-platform and browser compatibility. The following distributions are derived from WinJS 2.0:

WinJS 3.0

WinJS 3.0 was released in September, 2014[3] with special focus on:

WinJS 4.0

A Preview of WinJS 4.0 was announced on March 27, 2015, and the full release was announced on June 8.[4] [5]

References

  1. "Building Xbox One Apps using HTML and JavaScript". Building Apps for Windows. Microsoft. Retrieved 7 April 2015.
  2. "Extending platform commonality through universal Windows apps". Building Apps for Windows. Microsoft. Retrieved 18 September 2014.
  3. "WinJS Everywhere". Building Apps for Windows. Microsoft. Retrieved 18 September 2014.
  4. "A Preview of WinJS 4.0". Microsoft. Retrieved 31 March 2015.
  5. "WinJS 4.0 released". Microsoft. Retrieved 8 June 2015.

See also

External links

This article is issued from Wikipedia - version of the Thursday, January 28, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.