Aug 14, 2015

WinJS : JavaScript library from Microsoft


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).

What is WinJS?
WinJS is an open-source JavaScript library that can assist you in building HTML, CSS, and JavaScript applications for the Windows Store with a consistent look and performance across all Windows devices. WinJS will work in any browser and can be used as a standalone solution or with other frameworks and libraries.

What can WinJS do?
WinJS makes it possible to add Windows UI controls in HTML, such as ListView, FlipView, and Semantic Zoom, features like virtualizing collections, and high-quality infrastructure like page controls, promises, data-binding, and a template engine.

Where can I use WinJS?
Use WinJS not only for your Universal Windows apps with HTML/JS, but also for your websites, and when using HTML-based app technologies like Apache Cordova. The library consists of modules that bring JavaScript coding conventions to Windows Runtime functionality.

Node.js is a required component of building WinJS on your local machine. Presumably, by working on top of Node, WinJS is able to deal especially well with asynchronous tasks, like chat and other user interactions, within apps.

Try WinJS here.