What is the difference between Javascript apps for Cordoba and Windows 10?

In Visual Studio 2015 I go: New project -> In Javascript / Windows -> Blank App (Universal Windows)

Then a new application is created with the file .html, .js, .css, etc. Then I can access system level elements through an object exposed to javascript.

Now, for Microsoft to implement this, I assume that my application is hosted in some kind of web view.

Now let's take Cordova (or Phonegap), I create a windows cordova application, and this is the Windows application that hosts the WebView. (or isn't it what it does on iOS and Android).

So isn't that redundant? If my application can be WebView (by creating an application for javascript windows 10). Why would I want to host ANOTHER webview, such as cordova?

Or maybe I don’t understand something ..

+4
source share
1 answer

Windows 10 Javascript Apps (also known as WinJS ) is a way to create native Windows applications using web technologies. WinJS provides libraries that provide direct access to the device, underlying OS, and infrastructure.

Cordova - -. , , . WinJS Windows, Cordova , , .

+1

Source: https://habr.com/ru/post/1609401/


All Articles