E
E
erhtjgfjhgkr2019-08-01 23:49:19
Angular
erhtjgfjhgkr, 2019-08-01 23:49:19

Vue.js, React or Angular? Express on Electron JS will work?

In my head while structuring porridge.
There are several similar bootstrap layouts.
Multiple translations for these layouts (English, Russian, etc.) as JSON files.
en.json
ru.json
etc.
I choose between simple and functional framework Vue.js, React or Angular.
Further I will stuff all this into Express.
Get something like a site.
And then all this needs to be wrapped in Electron JS.
Will not work until I know.
Who worked, write how it is mutually combined for my case.
Maybe the functionality of the libraries is much more than I know so far and something can be excluded.
Since Electron JS is for the desktop, is there an analogue for smartphones using node.
(like the node does not work on smartphones)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Pikat, 2019-08-02
@PavelPikat

All frameworks will work on Electron.
But I think you first need to figure out what, what and where. Express is a web server that runs on a remote machine and processes user requests over a protocol (eg HTTP).
Vue / React / Angular - in general, these are client applications that run locally in the user's browser.
Electron is a Chromium wrapper, i.e. This is a desktop application based on a browser.
Accordingly, running a web server inside Electron is complete nonsense and does not make any sense.
It makes sense to split the application into UI with Vue / React / Angular, which canrun on a desktop in an Electron application, and an Express web server that should run on a remote machine. Accordingly, the Electron client application can make requests to the server and receive / send data and display them in its UI.

I
IDONTSUDO, 2019-08-02
@IDONTSUDO

Firstly, your electron application will weigh a lot. Secondly, make it easier to just PWA.
https://texterra.ru/blog/raznyukhat-o-pwa-zachem-b...

D
Dmitry Belyaev, 2019-08-02
@bingo347

Vue.js, React or Angular?
what you know, take it...
Further I will stuff all this into Express.
express is about creating slow web servers, electron has a more efficient api for this:
https://electronjs.org/docs/api/protocol
https://electronjs.org/docs/api/ipc-main
https:// electronjs.org/docs/api/ipc-renderer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question