WinJS
DeveloperMicrosoft
Initial releaseOctober 26, 2012; 13 years ago (2012-10-26)
Stable release
4.4.5 / January 25, 2019; 7 years ago (2019-01-25)
Written inJavaScript, TypeScript
Operating systemWindows 8,
Windows 10,
Windows Phone 8.1,
Windows 10 Mobile,
Xbox One system software
TypeSoftware framework
LicenseApache License 2.0
Websitewww.buildwinjs.com
Repositorygithub.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 of easing development of Windows Store apps for Windows 8 and Windows 10, as well as Windows Phone apps for Windows Phone 8.1, Windows 10 Mobile and Xbox One[1] applications using HTML5 and JavaScript, as an alternative to using WinRT 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 to port it to other than Microsoft platforms. A site dedicated to demonstrating the library has also been published.[2]

Future development on WinJS is focused on maintaining what currently exists in the project. There are no plans for new features or feature requests, meaning no plans for a new feature release.[3] The WinJS repository hasn't had a new commit since 2020.[4]

Overview

edit

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

edit
  • UI controls with fundamental support for touch, mouse and keyboard.
  • Scaffolding.

Version history

edit

WinJS 1.0

edit

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

WinJS 2.0

edit

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 2.0 for Windows 8.1
  • WinJS Xbox 1.0 for Windows
  • WinJS Phone 2.1 for Windows Phone 8.1

WinJS 3.0

edit

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

  • Cross-browser/cross-platform support spanning the most popular desktop and mobile browsers, as well as HTML-based app environments like Apache Cordova
  • JavaScript modularization giving developers the control to optimize their performance and load just the modules of the WinJS library they need for their Web site or app
  • Improved universal control designs

WinJS 4.0

edit

A preview of WinJS 4.0 was announced on March 27, 2015, and the full release was announced on June 8.[6][7]

See also

edit

References

edit
  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. 2 April 2014. Retrieved 18 September 2014.
  3. ^ "winjs/winjs". GitHub. Retrieved 2016-05-09.
  4. ^ "winjs/winjs". GitHub. Retrieved 2025-01-11.
  5. ^ "WinJS Everywhere". Building Apps for Windows. Microsoft. 17 September 2014. Retrieved 18 September 2014.
  6. ^ "A Preview of WinJS 4.0". Microsoft. 27 March 2015. Retrieved 31 March 2015.
  7. ^ "WinJS 4.0 released". Microsoft. 8 June 2015. Retrieved 8 June 2015.
edit

📚 Artikel Terkait di Wikipedia

WGCT-CD

women's gymnastics, as well as hockey and wrestling. It changed its calls to WINJ-LP ("We're Into Jesus") in 1998 and WGCT-CA in 2006. Prior to the purchase

List of JavaScript libraries

Polymer (library) by Google qooxdoo React.js by Meta/Facebook Vue.js Webix WinJS Svelte Glow Lively Kernel Script.aculo.us YUI Library Google Closure Library

Windows UI Library

provided built-in for the Windows Runtime; the others being HTML5 (e.g., via WinJS) and DirectX. WinUI 2 is an extension library for UWP XAML containing controls

St.GIGA

COSMO sold to WINJ. 2005 – Club COSMO's 5ch broadcasts became analog (31 March) and the switch to 333ch was completed (10 May). 2006 – WINJ begins St.GIGA

JScript

.NET Framework) JScript.Encode Windows Script File Windows Script Host WinJS JScript supports various features not specified in the ECMA standard, as

Universal Windows Platform apps

they are discovered to have security or privacy issues. Windows App Studio WinJS Weinberger, Matt (March 17, 2016), Microsoft is trying to change Windows

List of widget toolkits

aculo.us RIAs Dojo Ext JS (formerly Sencha Touch) Telerik Kendo UI Webix WinJS React Native Full-stack framework Echo3 SproutCore Telerik UI for ASP/PHP/JSP/Silverlight

Apache Cordova

rich web application frameworks Quasar Framework RhoMobile Suite Cocos2d WinJS NativeScript Xamarin Flutter Titanium SDK Appery.io https://cordova.apache