Efficiency: Is a WPF application better than smart-encoded electron?

Recently, I read about Electron , and I was curious about its potential compared to what has already been installed in the market for creating Windows 7desktop applications (i.e. WPF ).

So far, I have noticed that those who are inclined towards Electron discuss the fact that it provides:

  • emerging cycles: one familiar with HTML5, CSS3, JSand some Node.js, all set to go directly to the creation of a desktop application.
  • cross-platform compatibility: based on Chromiumand Node.js, like cross-platform, an application can run anywhere where the two are supported.
  • beautiful and interactive design GUI: a combination HTML5, CSS3and JShas proven what can be achieved over the years.
  • simple and cost-effective web page processing: a web application can be relatively easily converted to a desktop application by the same developers who created it in the first place (i.e. save costs).

When it comes to WPF , its proponents discuss the following favorable arguments:

  • access to native APIs: WPF fits well into the structure .NET, giving the developer access to all the built-in functions Windows.
  • XAML : , XAML UI, , (.. , , Android).
  • : - , , JIT.

, , . , , . , , , , , , , , .

, , , , , , . , , , .

  • DOM - , XAML .
  • native OS APIs, WPF , .NET.
  • WPF, JS , , , C#, .
  • WPF MVVM, .
  • , WPF ( , ).
  • -, WPF .NET. , Xamarin/.NET Core.
  • , Chromium Node.js .
  • WPF (.. - ).
  • , WPF.

, , (.. , ) WPF. , - , Electron . , , , , , , .

, , , , .

, - Windows 7 , - XLSX (.. 1e5 ). , , (.. json, xml txt)), . pdf . :

  • DOM . , Vue.js React , DOM, .
  • OS. / , , .
  • JS , , C++ Node.js JS. C++ . JS.
  • , . , Vue.js React.
  • ~50MB , Chromium Node.js.
  • , .

, :

  • WPF , , , C++ C# .dll? , ?
  • XAML UI Vue.js React HTML5 CSS3?

: , , GUI , XAML. , , , XAML.


: , . , , .


1. / . , , .

+6

All Articles