K
K
Kup9_NpS2016-01-13 10:11:53
Node.js
Kup9_NpS, 2016-01-13 10:11:53

Can Nw.js be used as node.js training?

Hello. There was a desire to learn node.js, and while reading various articles I came across nw.js (node-webkit). There were many examples of creating applications, with detailed comments, etc. So I wondered, if I delve into the study of nw, js, will skills appear in pure node? Or is it the other way around to excel at nw.js you need a good knowledge of node?
And is it worth learning nw.js at all?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri, 2016-01-13
@Kup9_NpS

better try electron.atom.io . NW is more of a browser.
From my own experience, I’ll say that you will probably only master the basics of node with it, maybe you will get acquainted with the modules. when you make a service on a node, there is more work with request processing, and NW is essentially the same javascript - frontend, if you are friends with js, there is little new.
in general, I don’t recommend it for training, it’s better, on the contrary, to work on node first. It makes sense to study Nw.js only if you need desktop applications, and server technologies are not so interesting.

V
VZVZ, 2016-01-13
@VZVZ

Do I understand correctly that nw.js is just one of the libraries for node.js?
If yes, then I will tell you a secret.
Whatever you write, you are always working with some kind of library.
Absolutely any so-called "standard", "built-in" language tools (from standard functions to data types) can be represented as elements of its "standard library". In some languages ​​it is de jure (as in C#), and in absolutely all languages ​​it is de facto, because in the work "standard library" is the same library as third-party ones. It doesn't matter if you're working with the built-in string type (which is not physically implemented as a library class in this language) or with the String class from some real library.
Third party libraries are different. Some are needed for a very wide range of tasks (like jQuery), others for a narrower one. Which library is needed for this task, that one is used.
The standard library is needed for a wide range of tasks, and is necessary, therefore, solving any problem, you will learn to work with it too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question